#include<bits/stdc++.h>
using namespace std;
#define int long long 
int n,k;
signed main(){
	cin>>n>>k;
	if(n==1)cout<<k;
	return 0;
}