Problem: [MisoilePunch♪ - 彩](https://www.youtube.com/watch?v=5VleIdkEeak)

This is an interactive problem!

On a normal day at the hidden office in A.R.C. Markland-N, Rin received an artifact, given to her by the exploration captain Sagar.

After much analysis, she now realizes that this artifact contains data about a strange flower, which has existed way before the New Age. However, the information about its chemical structure has been encrypted heavily.

The chemical structure of this flower can be represented as a string p. From the unencrypted papers included, Rin already knows the length n of that string, and she can also conclude that the string contains at most three distinct letters: "C" (as in Carbon), "H" (as in Hydrogen), and "O" (as in Oxygen).

At each moment, Rin can input a string s of an arbitrary length into the artifact's terminal, and it will return every starting position of s as a substring of p.

However, the artifact has limited energy and cannot be recharged in any way, since the technology is way too ancient and is incompatible with any current A.R.C.'s devices. To be specific:

  * The artifact only contains 7/5 units of energy. 
  * For each time Rin inputs a string s of length t, the artifact consumes (1)/(t^2) units of energy. 
  * If the amount of energy reaches below zero, the task will be considered failed immediately, as the artifact will go black forever. 



Since the artifact is so precious yet fragile, Rin is very nervous to attempt to crack the final data. Can you give her a helping hand?

Interaction

The interaction starts with a single integer t (1 ≤ t ≤ 500), the number of test cases. The interaction for each testcase is described below:

First, read an integer n (4 ≤ n ≤ 50), the length of the string p.

Then you can make queries of type "? s" (1 ≤ |s| ≤ n) to find the occurrences of s as a substring of p.

After the query, you need to read its result as a series of integers in a line:

  * The first integer k denotes the number of occurrences of s as a substring of p (-1 ≤ k ≤ n). If k = -1, it means you have exceeded the energy limit or printed an invalid query, and you need to terminate immediately, to guarantee a "Wrong answer" verdict, otherwise you might get an arbitrary verdict because your solution will continue to read from a closed stream.
  * The following k integers a_1, a_2, …, a_k (1 ≤ a_1 < a_2 < … < a_k ≤ n) denote the starting positions of the substrings that match the string s.



When you find out the string p, print "! p" to finish a test case. This query doesn't consume any energy. The interactor will return an integer 1 or 0. If the interactor returns 1, you can proceed to the next test case, or terminate the program if it was the last testcase.

If the interactor returns 0, it means that your guess is incorrect, and you should to terminate to guarantee a "Wrong answer" verdict.

Note that in every test case the string p is fixed beforehand and will not change during the queries, i.e. the interactor is not adaptive.

After printing any query do not forget to print end of line and flush the output. Otherwise, you might get Idleness limit exceeded. To do this, use:

  * fflush(stdout) or cout.flush() in C++;
  * System.out.flush() in Java;
  * flush(output) in Pascal;
  * stdout.flush() in Python;
  * see the documentation for other languages.



Hacks

For hack, use the following format. Note that you can only hack with one test case:

The first line should contain a single integer t (t = 1).

The second line should contain an integer n (4 ≤ n ≤ 50) — the string's size.

The third line should contain a string of size n, consisting of characters "C", "H" and "O" only. This is the string contestants will have to find out.

Examples

Input


1
4

2 1 2

1 2

0

1

Output




? C

? CH

? CCHO

! CCHH



Input


2
5

0

2 2 3

1
8

1 5

1 5

1 3

2 1 2

1

Output




? O

? HHH

! CHHHH


? COO

? COOH

? HCCOO

? HH

! HHHCCOOH

Note

Note that the example interaction contains extra empty lines so that it's easier to read. The real interaction doesn't contain any empty lines and you shouldn't print any extra empty lines as well.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
void file(string s) {
  freopen((s + ".in").c_str(), "r", stdin);
  freopen((s + ".out").c_str(), "w", stdout);
}
template <typename Tp>
void read(Tp &x) {
  int fh = 1;
  char c = getchar();
  x = 0;
  while (c > '9' || c < '0') {
    if (c == '-') {
      fh = -1;
    }
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    x = (x << 1) + (x << 3) + (c & 15);
    c = getchar();
  }
  x *= fh;
}
int n, m;
namespace Sub1 {
char a[1005], b[1005];
void solve4() {
  puts("? HHH");
  fflush(stdout);
  scanf("%d", &m);
  for (int i = 1, p; i <= m; ++i) {
    scanf("%d", &p);
    a[p] = 'H';
    a[p + 1] = 'H';
    a[p + 2] = 'H';
  }
  if (!a[1]) {
    if (!a[n]) {
      a[1] = 'O';
      a[2] = 'H';
      a[3] = 'H';
      a[4] = 'C';
    } else {
      a[1] = 'O';
    }
  } else {
    if (!a[n]) {
      a[n] = 'C';
    }
  }
}
void solve3() {
  if (!a[3]) {
    puts("? OOHH");
    fflush(stdout);
    scanf("%d", &m);
    for (int i = 1, p; i <= m; ++i) {
      scanf("%d", &p);
    }
    if (m)
      a[3] = 'H', a[4] = 'H';
    else
      a[3] = 'H', a[4] = 'C';
  } else {
    if (!a[4]) {
      puts("? OOOH");
      fflush(stdout);
      scanf("%d", &m);
      for (int i = 1, p; i <= m; ++i) {
        scanf("%d", &p);
      }
      if (m)
        a[3] = 'O', a[4] = 'H';
      else
        a[3] = 'O', a[4] = 'C';
    }
  }
}
void solve2() {
  int ps1 = -1, ps2 = -1;
  for (int i = 1; i <= n; ++i) {
    if (!a[i]) {
      if (ps1 == -1)
        ps1 = i;
      else
        ps2 = i;
    }
  }
  if (ps1 == -1) return;
  if (ps2 == -1) {
    for (int i = n; i; --i) {
      if (!a[i]) {
        ps2 = i;
        break;
      }
    }
    if (ps1 > ps2) swap(ps1, ps2);
  }
  for (int i = 1; i <= n; ++i) b[i] = a[i];
  b[ps1] = 'O';
  b[ps2] = 'C';
  printf("? ");
  puts(b + 1);
  fflush(stdout);
  scanf("%d", &m);
  if (m) {
    for (int i = 1, p; i <= m; ++i) {
      scanf("%d", &p);
    }
    for (int i = 1; i <= n; ++i) a[i] = b[i];
    return;
  }
  b[ps1] = 'O';
  b[ps2] = 'H';
  printf("? ");
  puts(b + 1);
  fflush(stdout);
  scanf("%d", &m);
  if (m) {
    for (int i = 1, p; i <= m; ++i) {
      scanf("%d", &p);
    }
    for (int i = 1; i <= n; ++i) a[i] = b[i];
    return;
  }
  b[ps1] = 'O';
  b[ps2] = 'O';
  printf("? ");
  puts(b + 1);
  fflush(stdout);
  scanf("%d", &m);
  if (m) {
    for (int i = 1, p; i <= m; ++i) {
      scanf("%d", &p);
    }
    for (int i = 1; i <= n; ++i) a[i] = b[i];
    return;
  }
  b[ps1] = 'H';
  b[ps2] = 'C';
  printf("? ");
  puts(b + 1);
  fflush(stdout);
  scanf("%d", &m);
  if (m) {
    for (int i = 1, p; i <= m; ++i) {
      scanf("%d", &p);
    }
    for (int i = 1; i <= n; ++i) a[i] = b[i];
    return;
  }
  b[ps1] = 'H';
  b[ps2] = 'H';
  printf("? ");
  puts(b + 1);
  fflush(stdout);
  scanf("%d", &m);
  if (m) {
    for (int i = 1, p; i <= m; ++i) {
      scanf("%d", &p);
    }
    for (int i = 1; i <= n; ++i) a[i] = b[i];
    return;
  }
  b[ps1] = 'H';
  b[ps2] = 'O';
  for (int i = 1; i <= n; ++i) a[i] = b[i];
}
void solve() {
  int fl = 0;
  memset(a, 0, sizeof(a));
  memset(b, 0, sizeof(b));
  puts("? CC");
  fflush(stdout);
  scanf("%d", &m);
  for (int i = 1, p; i <= m; ++i) {
    scanf("%d", &p);
    fl = 1;
    a[p] = 'C';
    a[p + 1] = 'C';
  }
  puts("? CH");
  fflush(stdout);
  scanf("%d", &m);
  for (int i = 1, p; i <= m; ++i) {
    scanf("%d", &p);
    fl = 1;
    a[p] = 'C';
    a[p + 1] = 'H';
  }
  puts("? CO");
  fflush(stdout);
  scanf("%d", &m);
  for (int i = 1, p; i <= m; ++i) {
    scanf("%d", &p);
    fl = 1;
    a[p] = 'C';
    a[p + 1] = 'O';
  }
  if (fl) {
    solve2();
  } else {
    puts("? HO");
    fflush(stdout);
    scanf("%d", &m);
    for (int i = 1, p; i <= m; ++i) {
      scanf("%d", &p);
      fl = 1;
      a[p] = 'H';
      a[p + 1] = 'O';
    }
    if (fl) {
      solve2();
    } else {
      puts("? OO");
      fflush(stdout);
      scanf("%d", &m);
      for (int i = 1, p; i <= m; ++i) {
        scanf("%d", &p);
        fl = 1;
        a[p] = 'O';
        a[p + 1] = 'O';
      }
      if (fl) {
        solve3();
      } else {
        solve4();
      }
    }
  }
  printf("! ");
  puts(a + 1);
  fflush(stdout);
  scanf("%*d");
}
}  // namespace Sub1
namespace Sub2 {
char a[1005], b[1005];
void solve() {
  memset(a, 0, sizeof(a));
  memset(b, 0, sizeof(b));
  puts("? CC");
  fflush(stdout);
  scanf("%d", &m);
  for (int i = 1, p; i <= m; ++i) {
    scanf("%d", &p);
    a[p] = 'C';
    a[p + 1] = 'C';
  }
  puts("? CH");
  fflush(stdout);
  scanf("%d", &m);
  for (int i = 1, p; i <= m; ++i) {
    scanf("%d", &p);
    a[p] = 'C';
    a[p + 1] = 'H';
  }
  puts("? CO");
  fflush(stdout);
  scanf("%d", &m);
  for (int i = 1, p; i <= m; ++i) {
    scanf("%d", &p);
    a[p] = 'C';
    a[p + 1] = 'O';
  }
  puts("? HO");
  fflush(stdout);
  scanf("%d", &m);
  for (int i = 1, p; i <= m; ++i) {
    scanf("%d", &p);
    a[p] = 'H';
    a[p + 1] = 'O';
  }
  puts("? OO");
  fflush(stdout);
  scanf("%d", &m);
  for (int i = 1, p; i <= m; ++i) {
    scanf("%d", &p);
    a[p] = 'O';
    a[p + 1] = 'O';
  }
  for (int i = 2; i < n; ++i) {
    if (!a[i]) a[i] = 'H';
  }
  if (!a[1] && !a[n]) {
    for (int i = 1; i <= n; ++i) b[i] = a[i];
    b[1] = 'O';
    b[n] = 'C';
    printf("? ");
    puts(b + 1);
    fflush(stdout);
    scanf("%d", &m);
    if (m) {
      for (int i = 1, p; i <= m; ++i) {
        scanf("%d", &p);
      }
      for (int i = 1; i <= n; ++i) a[i] = b[i];
    } else {
      b[1] = 'O';
      b[n] = 'H';
      printf("? ");
      puts(b + 1);
      fflush(stdout);
      scanf("%d", &m);
      if (m) {
        for (int i = 1, p; i <= m; ++i) {
          scanf("%d", &p);
        }
        for (int i = 1; i <= n; ++i) a[i] = b[i];
      } else {
        b[1] = 'H';
        b[n] = 'C';
        printf("? ");
        puts(b + 1);
        fflush(stdout);
        scanf("%d", &m);
        if (m) {
          for (int i = 1, p; i <= m; ++i) {
            scanf("%d", &p);
          }
          for (int i = 1; i <= n; ++i) a[i] = b[i];
        } else {
          a[1] = 'H';
          a[n] = 'H';
        }
      }
    }
  } else {
    if (!a[1]) {
      for (int i = 1; i <= n; ++i) b[i] = a[i];
      b[1] = 'O';
      printf("? ");
      puts(b + 1);
      fflush(stdout);
      scanf("%d", &m);
      if (m) {
        for (int i = 1, p; i <= m; ++i) {
          scanf("%d", &p);
        }
        for (int i = 1; i <= n; ++i) a[i] = b[i];
      } else {
        a[1] = 'H';
      }
    } else {
      if (!a[n]) {
        for (int i = 1; i <= n; ++i) b[i] = a[i];
        b[n] = 'C';
        printf("? ");
        puts(b + 1);
        fflush(stdout);
        scanf("%d", &m);
        if (m) {
          for (int i = 1, p; i <= m; ++i) {
            scanf("%d", &p);
          }
          for (int i = 1; i <= n; ++i) a[i] = b[i];
        } else {
          a[n] = 'H';
        }
      }
    }
  }
  printf("! ");
  puts(a + 1);
  fflush(stdout);
  scanf("%*d");
}
}  // namespace Sub2
signed main() {
  int CasT;
  scanf("%d", &CasT);
  while (CasT--) {
    scanf("%d", &n);
    if (n == 4)
      Sub1::solve();
    else
      Sub2::solve();
  }
  return 0;
}