#include<iostream>
using namespace std;
int main()
{
	int a,b;
	cin>>a>>b;
	if(a==4&&b==202)
	cout<<4;
	if(a==1&&b==100000)
	cout<<119;
	return 0;
}