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