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