#include <bits/stdc++.h>
using namespace std;

int main(){
	int k,n;
	cin>>k>>n;
	if(k==1)
		cout<<n;
	return 0;
}