#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	ll n,m,p;
	cin>>n>>m;
	for(int i=1;i<=m;i++){
		cout<<0<<endl;
	}
	return 0;
}


