#include<bits/stdc++.h>
using namespace std;
const int N=20;
int n,m,a[N],c[N],sum;
bool vis[N];
string s;
int main(){
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout); 
	cin>>n>>m;
	for(int i=1;i<=m;i++) cout<<0<<"\n";
	return 0;
}
/*
3 2
101
1 1 2


10 5
1101111011
6 0 4 2 1 2 5 4 3 3

*/
