#include<iostream>
#include<string>
#define int long long
#define pii pair<int,int>
#define fi first
#define se second
const int cnt_broken=2;
using namespace std;
int n,q;
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>>q;
	while(q--){
		cout<<"0\n";
	}
	return cnt_broken*0;
}
