#include <bits/stdc++.h>
using namespace std;
int main(){
	freopen("employ.in","r",stdin);
	freopen("employ.out","w",stdout);
	long long n,m;
	cin >> n >> m;
	string s;
	cin >> s;
	long long c;
	for(int i = 1;i<=n;i++){
		cin >> c;
	}
	cout << 2;
	return 0;
} 
