#include #include using namespace std; int main() { int n; cin >> n; char s[n]; cin >> s; for (int i = 1; i < n - 1; i++) { cout << s[i]; } cout << endl; return 0; }