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