#include<iostream>
#include<cstdio>
#include<algorithm>
#define MAXN 200005
using namespace std;
int main()
{
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	int t;
	cin >> t;
	while(t--)
	{
cout << 0 << endl; 
	}
	return 0;
}
