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