#include<bits/stdc++.h>
using namespace std;
const int N=1e6+5,M=2e4+5;
int n,a[N];
int k;
int main(){
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	cin>>n>>k;
	while(k--){
		cout<<0<<endl;
	}
	return 0;
} 
