#include<bits/stdc++.h>
#define int long long
const int M=1e5+500;
using namespace std;
int n,m;
signed main(){
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	ios::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);
	cin>>n>>m;
	for(int i=1;i<=m;i++) cout<<0<<endl;
	return 0;
}
//Ren5Jie4Di4Ling5%
