#include <bits/stdc++.h>   using namespace std;   int main() {     int t;     cin >> t;     while (t--) {       int n;       string s;       cin >> n >> s;       string an =   ;       for (int i = 0; i < s.length(); i += 2) {         cout << s[i];       }       cout << endl;     }   }   