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

//ll f[N][N][N],a[N],b[N],c[N];
int main(){
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	int T;
	cin>>T;
	cin>>T;
	while(T--){
		cout<<0<<endl;
	}
	
	return 0;
}
	
	
	
	
	
	
	
	
	
	
	
//Ren5Jie4Di4Ling5% 
