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

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

// constraints
#define MAXN 400000

// input data
int N, K, T, i, t;
int P[MAXN];

int main() {
    //  uncomment the 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(t = 0; t < T; t++) {
        assert(2 == scanf("%d %d", &N, &K));
        for(i = 0; i < N; i++) {
            assert(1 == scanf("%d", &P[i]));
        }
        // write your code here
        printf("%d\n", 42); // print the result
    }
    return 0;
}
