// NOTE: it is recommended to use this even if you don't understand the following code.

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>

#define MAXN 100
#define MAXS 128

int  N, T, i, test;
int  P[MAXN];
char ans[MAXS];

int main() {
    // uncomment the two following lines if you want to read/write from files
    // freopen("input.txt", "r", stdin);
    // freopen("output.txt", "w", stdout);

    assert(1 == scanf("%d", &T));
    for (test = 1; test <= T; ++test) {
        assert(1 == scanf("%d", &N));
        
        for (i = 0; i < N; ++i)
            assert(1 == scanf("%d", &P[i]));
        
        ans[0] = 0;
        
        
        // INSERT YOUR CODE HERE
        
        
        printf("%s\n", ans);
    }

    return 0;
}
