#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i = 0, cur = 0;
  string s, ans = "";
  cin >> n >> s;
  while (cur < n) {
    ans += s[cur];
    i++;
    cur += i;
  }
  cout << ans;
}
