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