#include<bits/stdc++.h>
using namespace std;
int a[505],b[505],he[505];
int main()
{
	freopen("employ.in","r",stdin);
	freopen("employ.out","w",stdout);
	int n,m;
	cin>>n>>m;
	for(int i=1;i<=n;i++)
	{
		char x; 
		cin>>x;
		a[i]=x-'0';
	}
	for(int i=1;i<=n;i++)
	{
		cin>>b[i];
	}
	long long res=1;
	cout<<161088479;
	return 0;
}
