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