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


int main(){
	cin.tie(0);
	cout.tie(0);
	freopen("assign.in","r",stdin);
	freopen("assign.out","w",stdout);

	cin>>T;
	while(T--){
		cout<<0<<endl;
	}
	
	
	
	
	
	
	return 0;
}
