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