#include <bits/stdc++.h>
#define int long long
using namespace std;
int n,q,l[200001],b[5000001];
string s[200001],t[200001];
signed main(){
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	cin >> n >> q;
	while(q--){
		cout << "0\n";
	}
	return 0;
}

