#include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
#include<vector>
using namespace std;

int T;
//first time noip,last time noip,good luck; 
int main()
{
	freopen("assign.in","r",stdin);
	freopen("assign.out","w",stdout);
	cin >> T;
	for(int i = 1;i <= T;i++)
		cout << '0' << endl;
	return 0;
} 
