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;
int n;
vector<int> qucv[3], v;
void quc() {
  cout << "? OC\n";
  cout.flush();
  int k;
  cin >> k;
  if (k == -1) exit(0);
  while (k--) {
    int x;
    cin >> x;
    qucv[0].push_back(x);
  }
  cout << "? HC\n";
  cout.flush();
  cin >> k;
  if (k == -1) exit(0);
  while (k--) {
    int x;
    cin >> x;
    qucv[1].push_back(x);
  }
  cout << "? CC\n";
  cout.flush();
  cin >> k;
  if (k == -1) exit(0);
  while (k--) {
    int x;
    cin >> x;
    qucv[2].push_back(x);
  }
}
void qu(string s) {
  cout << "? " << s << endl;
  cout.flush();
  int k;
  cin >> k;
  if (k == -1) exit(0);
  v.clear();
  while (k--) {
    int x;
    cin >> x;
    v.push_back(x);
  }
}
int eq(string s, string ans) {
  string fans(4, '?');
  vector<string> vv({"CO", "CH", "CC", "OH", "HHH", "OOO"});
  for (int i = 0; i < vv.size(); i++) {
    string now = vv[i];
    for (int j = 0; j < s.size() - now.size() + 1; j++) {
      int r = 1;
      for (int l = 0; l < now.size(); l++) {
        if (s[j + l] != now[l]) {
          r = 0;
          break;
        }
      }
      if (r) {
        for (int l = 0; l < now.size(); l++) {
          fans[j + l] = now[l];
        }
      }
    }
  }
  for (int i = 0; i < 4; i++) {
    if (ans[i] != fans[i]) {
      return 0;
    }
  }
  return 1;
}
string pp(string s) {
  for (int i = s.size() - 1; i >= 0; i--) {
    if (s[i] == 'C') {
      s[i] = 'H';
      return s;
    }
    if (s[i] == 'H') {
      s[i] = 'O';
      return s;
    }
    s[i] = 'C';
  }
  return s;
}
void solve4() {
  int n = 4;
  string ans(n, '?');
  qu("CC");
  for (int i = 0; i < v.size(); i++) {
    ans[v[i] - 1] = 'C';
    ans[v[i]] = 'C';
  }
  qu("CH");
  for (int i = 0; i < v.size(); i++) {
    ans[v[i] - 1] = 'C';
    ans[v[i]] = 'H';
  }
  qu("CO");
  for (int i = 0; i < v.size(); i++) {
    ans[v[i] - 1] = 'C';
    ans[v[i]] = 'O';
  }
  qu("OH");
  for (int i = 0; i < v.size(); i++) {
    ans[v[i] - 1] = 'O';
    ans[v[i]] = 'H';
  }
  if (((ans[0] == '?' || ans[0] == 'O') && (ans[1] == '?' || ans[1] == 'O') &&
       (ans[2] == '?' || ans[2] == 'O')) ||
      ((ans[1] == '?' || ans[1] == 'O') && (ans[2] == '?' || ans[2] == 'O') &&
       (ans[3] == '?' || ans[3] == 'O'))) {
    qu("OOO");
    for (int i = 0; i < v.size(); i++) {
      ans[v[i] - 1] = ans[v[i] + 1] = ans[v[i]] = 'O';
    }
  }
  if (((ans[0] == '?' || ans[0] == 'H') && (ans[1] == '?' || ans[1] == 'H') &&
       (ans[2] == '?' || ans[2] == 'H')) ||
      ((ans[1] == '?' || ans[1] == 'H') && (ans[2] == '?' || ans[2] == 'H') &&
       (ans[3] == '?' || ans[3] == 'H'))) {
    qu("HHH");
    for (int i = 0; i < v.size(); i++) {
      ans[v[i] - 1] = ans[v[i] + 1] = ans[v[i]] = 'H';
    }
  }
  int cnt = 0;
  for (int i = 0; i < 4; i++) {
    if (ans[i] == '?') cnt++;
  }
  if (!cnt) {
    cout << "! " << ans << endl;
    cout.flush();
    int r;
    cin >> r;
    if (r == 0) exit(0);
    return;
  }
  string now = "CCCC";
  int sw = 0;
  if (eq("OOOO", ans)) sw = 1;
  string ff = ans;
  int q = 0;
  while (now != "OOOO") {
    if (eq(now, ans)) {
      if (q == 0 && sw == 0) {
        ff = now;
        now = pp(now);
        q = 1;
        continue;
      }
      qu(now);
      if (v.size()) {
        cout << "! " << now << endl;
        cout.flush();
        int r;
        cin >> r;
        if (r == 0) exit(0);
        return;
      }
    }
    now = pp(now);
  }
  if (!sw) {
    cout << "! " << ff << endl;
    cout.flush();
    int r;
    cin >> r;
    if (r == 0) exit(0);
    return;
  }
  cout << "! " << now << endl;
  cout.flush();
  int r;
  cin >> r;
  if (r == 0) exit(0);
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    cin >> n;
    if (n == 4) {
      solve4();
      continue;
    }
    string ans(n, '?');
    qucv[0].clear();
    qucv[1].clear();
    qucv[2].clear();
    quc();
    for (int i = 0; i < qucv[0].size(); i++) {
      ans[qucv[0][i] - 1] = 'O';
      ans[qucv[0][i]] = 'C';
    }
    for (int i = 0; i < qucv[1].size(); i++) {
      ans[qucv[1][i] - 1] = 'H';
      ans[qucv[1][i]] = 'C';
    }
    for (int i = 0; i < qucv[2].size(); i++) {
      ans[qucv[2][i] - 1] = 'C';
      ans[qucv[2][i]] = 'C';
    }
    qu("OH");
    for (int i = 0; i < v.size(); i++) {
      ans[v[i] - 1] = 'O';
      ans[v[i]] = 'H';
    }
    qu("HO");
    for (int i = 0; i < v.size(); i++) {
      ans[v[i] - 1] = 'H';
      ans[v[i]] = 'O';
    }
    int x = 0;
    char last = '?';
    for (int i = n - 1; i > 0; i--) {
      if (ans[i] != '?') {
        if (last == '?') x = i;
        last = ans[i];
      }
      if (ans[i] == '?') {
        ans[i] = last;
      }
    }
    last = '?';
    for (int i = 1; i < n; i++) {
      if (ans[i] != '?') {
        last = ans[i];
      }
      if (ans[i] == '?' && x > i) {
        ans[i] = last;
      }
    }
    int y = 100;
    for (int i = 0; i < n; i++) {
      if (ans[i] != '?') {
        y = i;
        break;
      }
    }
    vector<string> chk;
    int sw = 1;
    if (x == 0) {
      string s = ans;
      for (int i = 0; i < n; i++) s[i] = 'O';
      chk.push_back(s);
      s[0] = 'C';
      chk.push_back(s);
      for (int i = 1; i < n; i++) s[i] = 'H';
      chk.push_back(s);
      s[0] = 'H';
      chk.push_back(s);
      sw = 0;
    }
    if (sw && ans[0] == '?' && ans[n - 1] == '?') {
      string s = ans;
      s[0] = s[y];
      for (int i = n - 1; i > x; i--) {
        s[i] = 'O';
      }
      chk.push_back(s);
      s[0] = 'C';
      chk.push_back(s);
      for (int i = n - 1; i > x; i--) {
        s[i] = 'H';
      }
      chk.push_back(s);
      s[0] = s[y];
      chk.push_back(s);
      sw = 0;
    }
    if (sw && ans[0] == '?') {
      string s = ans;
      s[0] = 'C';
      chk.push_back(s);
      s[0] = s[1];
      chk.push_back(s);
      sw = 0;
    }
    if (sw && ans[n - 1] == '?') {
      string s = ans;
      for (int i = n - 1; i > x; i--) {
        s[i] = 'H';
      }
      chk.push_back(s);
      for (int i = n - 1; i > x; i--) {
        s[i] = 'O';
      }
      chk.push_back(s);
      sw = 0;
    }
    if (sw || chk.size() == 0) {
      cout << "! " << ans << endl;
      cout.flush();
      int r;
      cin >> r;
      if (r == 0) exit(0);
      continue;
    }
    int r = -1;
    for (int i = 0; i < chk.size() - 1; i++) {
      qu(chk[i]);
      if (v.size()) {
        cout << "! " << chk[i] << endl;
        cout.flush();
        cin >> r;
        if (r == 0) {
          exit(0);
        }
        break;
      }
    }
    if (r == -1) {
      cout << "! " << chk.back() << endl;
      cout.flush();
      cin >> r;
      if (r == 0) {
        exit(0);
      }
    }
  }
}