#include<bits/stdc++.h>
using namespace std;
int c,T;
long long n,k,mod=1e9+7;
int main()
{
	freopen("traverse.in","r",stdin);
	freopen("traverse.out","w",stdout);
	ios::sync_with_stdio(0);
	cin>>c>>T;
	while(T--)
	{
		if(c==18) cout<<1<<'\n';;
	}
	return 0;
}
