#include<bits/stdc++.h>
using namespace std;
int N,M;
char a[510];
int sum[510];
int chos[510];
int p[510];
int main()
{
	freopen("employ.in","r",stdin);
	freopen("employ.out","w",stdout);
	scanf("%d%d",&N,&M);
	cout<<2<<endl;
	fclose(stdin);
	fclose(stdout);
	return 0;
}

