#include<bits/stdc++.h>
using namespace std;
string str1[200005],str2[200005];
int main()
{
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	int n,q;
	for(int i=1;i<=n;i++)
	{
		cin>>str1[i]>>str2[i];
	}
	for(int i=1;i<=q;i++)
	{
		cout<<"0"<<endl;
	}
	return 0;
}
