#include using namespace std; using ll = long long; #define rep(i, s, e) for (int i = (int)s; i < (int)e; ++i) #define all(a) (a).begin(), (a).end() int main() { cin.tie(nullptr); int N; string S; cin >> N >> S; rep(i, 1, N - 1) cout << S[i]; cout << '\n'; }