#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n;
	cin>>n;
	string s;
	for(int i=1;i<=n*4;i++)cin>>s;
	cout<<1<<endl;
	return 0;
}