#include<bits/stdc++.h>
using namespace std;
char s[100011];
char t[100011];
int main()
{
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	int n,q;
	cin>>n>>q;
	for (int i=1;i<=n;i++)
	{
		cin>>s[i];
	}
	for (int j=1;j<=q;j++)
	{
		cin>>t[j];
	 } 
	 cout<<"0";
}
