#include<bits/stdc++.h>
using namespace std;
int main(){
	freopen("assign.in","r",stdin);
	freopen("assign.out","w",stdout);
	int t;
	cin>>t;
	while(t--)cout<<0<<endl;
	fclose(stdin);
	fclose(stdout);
	return 0;
}
