#include using namespace std; int main() { int N; string S; cin >> N >> S; S.pop_back(); S.erase( S.begin() ); cout << S << endl; }