#include<bits/stdc++.h>
using namespace std;
int main(){
	long long n,m;
	cin>>n>>m;
	if(n==1 and m==99){
		cout<<99;
		
	}
	else{
		cout<<m;
	}
}