#include<bits/stdc++.h>
using namespace std;
#define LL long long

LL m,n;


int main(){
	freopen("replace.in ","r",stdin);
	freopen("replace.out","w",stdout);
	ios::sync_with_stdio(false);
	cin.tie(0);cout.tie(0);
	
	cin>>n>>m;
	while(m--){
		cout<<'0'<<endl;
	}
	
	
	
	
	
	return 0;
}
