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;
inline int add(int _a, int _b) {
  if (_a < 0) {
    _a += 1000000007;
  }
  if (_b < 0) {
    _b += 1000000007;
  }
  if (_a + _b >= 1000000007) {
    return _a + _b - 1000000007;
  }
  return _a + _b;
}
inline int mul(int _a, int _b) {
  if (_a < 0) {
    _a += 1000000007;
  }
  if (_b < 0) {
    _b += 1000000007;
  }
  return ((long long int)((long long int)_a * (long long int)_b)) % 1000000007;
}
const int N = 100;
int n, k, ara[N];
bool mark[N];
double sum = 0.0;
string str[] = {"CH", "HC", "CO", "HO", "OHH", "OCC"};
char res[N];
void input() {
  int i, j;
  memset(mark, false, sizeof(mark));
  scanf("%d", &n);
}
void interaction2(string t) {
  int i, j;
  double x = (double)t.size();
  sum += 1.0 / (x * x);
  assert(sum <= 7.0 / 5.0);
  cout << "?"
       << " " << t;
  puts("");
  fflush(stdout);
  scanf("%d", &k);
  assert(k >= 0);
  for (i = 0; i < k; i++) {
    scanf("%d", &ara[i]);
    ara[i]--;
  }
}
void solve2() {
  int i, j, l;
  for (i = 0; i < 6; i++) {
    interaction2(str[i]);
    for (j = 0; j < k; j++) {
      for (l = 0; l < str[i].size(); l++) {
        mark[ara[j] + l] = true, res[ara[j] + l] = str[i][l];
      }
    }
  }
  for (i = 0; i < n; i++) {
    if (mark[i] && res[i] == 'C') {
      for (j = i - 1; j >= 0; --j) {
        if (mark[j]) {
          break;
        }
      }
      if (j >= 0) {
        if (res[j] == 'C') {
          for (l = j + 1; l < i; l++) {
            res[l] = 'C';
          }
        } else {
          for (l = j + 1; l < i; l++) {
            res[l] = 'O';
          }
        }
      }
    }
  }
  for (i = 0; i < n; i++) {
    if (mark[i] && res[i] == 'H') {
      for (j = i - 1; j >= 0; --j) {
        if (mark[j]) {
          break;
        }
      }
      if (j >= 0) {
        if (res[j] == 'H') {
          for (l = j + 1; l < i; l++) {
            res[l] = 'H';
          }
        } else {
          for (l = j + 1; l < i; l++) {
            res[l] = 'O';
          }
        }
      }
    }
  }
  for (i = 0; i < n; i++) {
    if (mark[i] && res[i] == 'O') {
      for (j = i - 1; j >= 0; --j) {
        if (mark[j]) {
          break;
        }
      }
      for (l = j + 1; l < i; l++) {
        res[l] = 'O';
      }
    }
  }
  for (i = 0; i < n && !mark[i]; i++)
    ;
  if (i == n) {
    string s = "";
    for (i = 0; i < n - 1; i++) {
      s += "O";
    }
    interaction2(s);
    if (k == 2) {
      cout << "!"
           << " " << s + "O";
      puts("");
      fflush(stdout);
      return;
    } else if (k == 1) {
      interaction2(s + "C");
      if (k) {
        cout << "!"
             << " " << s + "C";
        puts("");
        fflush(stdout);
        return;
      }
      cout << "!"
           << " " << s + "H";
      puts("");
      fflush(stdout);
      return;
    } else {
      string s1 = "", s2 = "";
      for (i = 0; i < n; i++) {
        s1 += "C";
        s2 += "H";
      }
      interaction2(s1);
      if (k) {
        cout << "!"
             << " " << s1;
        puts("");
        fflush(stdout);
        return;
      }
      cout << "!"
           << " " << s2;
      puts("");
      fflush(stdout);
      return;
    }
  }
  string x;
  int suf, cnt, prf;
  for (i = n - 1, cnt = 0; i >= 0 && !mark[i]; i--) {
    cnt++;
  }
  suf = i;
  if (res[suf] == 'H' || res[suf] == 'C') {
    for (i = suf + 1; i < n; i++) {
      mark[i] = true, res[i] = res[suf];
    }
  } else if (res[suf] == 'O') {
    for (i = suf + 1; i < n - 1; i++) {
      mark[i] = true, res[i] = res[suf];
    }
  }
  for (i = 0; i < n && !mark[i]; i++)
    ;
  prf = i;
  for (i = 0, x = ""; i < prf; i++) {
    x += 'O';
  }
  for (; i < n - 1; i++) {
    x += res[i];
  }
  interaction2(x);
  if (!k) {
    for (i = 0, x = ""; i < prf; i++) {
      x += res[prf];
    }
    for (; i < n - 1; i++) {
      x += res[i];
    }
  }
  if (mark[n - 1]) {
    x += res[n - 1];
    cout << "!"
         << " " << x;
    puts("");
    fflush(stdout);
    return;
  }
  interaction2(x + "O");
  if (k) {
    cout << "!"
         << " " << x + "O";
    puts("");
    fflush(stdout);
    return;
  }
  interaction2(x + "C");
  if (k) {
    cout << "!"
         << " " << x + "C";
    puts("");
    fflush(stdout);
    return;
  }
  cout << "!"
       << " " << x + "H";
  puts("");
  fflush(stdout);
  return;
}
void solve1() {
  int i, j, l, cnt;
  char st[] = {'C', 'H', 'O'};
  for (i = 0; i < 4; i++) {
    interaction2(str[i]);
    for (j = 0; j < k; j++) {
      for (l = 0; l < str[i].size(); l++) {
        mark[ara[j] + l] = true, res[ara[j] + l] = str[i][l];
      }
    }
  }
  for (i = cnt = 0; i < n; i++) {
    cnt += mark[i];
  }
  if (cnt == 0) {
    for (i = 4; i <= 5; i++) {
      interaction2(str[i]);
      for (j = 0; j < k; j++) {
        for (l = 0; l < str[i].size(); l++) {
          mark[ara[j] + l] = true, res[ara[j] + l] = str[i][l];
        }
      }
    }
    for (i = cnt = 0; i < n; i++) {
      cnt += mark[i];
    }
    if (cnt == 0) {
      string s = "";
      for (i = 0; i < n - 1; i++) {
        s += "O";
      }
      interaction2(s);
      if (k == 2) {
        cout << "!"
             << " " << s + "O";
        puts("");
        fflush(stdout);
        return;
      } else if (k == 1) {
        interaction2(s + "C");
        if (k) {
          cout << "!"
               << " " << s + "C";
          puts("");
          fflush(stdout);
          return;
        }
        cout << "!"
             << " " << s + "H";
        puts("");
        fflush(stdout);
        return;
      } else {
        string s1 = "", s2 = "";
        for (i = 0; i < n; i++) {
          s1 += "C";
          s2 += "H";
        }
        interaction2(s1);
        if (k) {
          cout << "!"
               << " " << s1;
          puts("");
          fflush(stdout);
          return;
        }
        cout << "!"
             << " " << s2;
        puts("");
        fflush(stdout);
        return;
      }
    }
  }
  if (cnt == 2) {
    int idx, bg = INT_MAX;
    bool f = false;
    string s = "";
    for (i = 0; i < n; i++) {
      if (!mark[i]) {
        if (i - 1 >= 0 && mark[i - 1]) {
          idx = i;
          break;
        }
        if (i + 1 <= n - 1 && mark[i + 1]) {
          idx = i;
          break;
        }
      }
    }
    for (i = 0, bg = idx; i < n; i++) {
      if (mark[i]) {
        bg = min(bg, i);
      }
    }
    for (i = f = 0; i < 2; i++) {
      for (j = 0, s = ""; j < n; j++) {
        if (j == idx) {
          s += st[i];
          continue;
        }
        if (mark[j]) {
          s += res[j];
        }
      }
      interaction2(s);
      if (k) {
        for (j = 0; j < k; j++) {
          if (ara[j] == bg) {
            f = true;
            break;
          }
        }
      }
      if (f) {
        break;
      }
    }
    if (f) {
      res[idx] = st[i], mark[idx] = true;
    } else {
      res[idx] = st[2], mark[idx] = true;
    }
    for (i = cnt = 0; i < n; i++) {
      cnt += mark[i];
    }
  }
  if (cnt == 3) {
    string s = "";
    int idx;
    bool f = false;
    for (i = f = 0; i < 2; i++) {
      for (j = 0, s = ""; j < n; j++) {
        if (mark[j]) {
          s += res[j];
        } else {
          s += st[i];
          idx = j;
        }
      }
      interaction2(s);
      if (k) {
        f = true;
        break;
      }
    }
    if (f) {
      res[idx] = st[i], mark[idx] = true;
    } else {
      res[idx] = st[2], mark[idx] = true;
    }
    for (i = cnt = 0; i < n; i++) {
      cnt += mark[i];
    }
  }
  if (cnt == 4) {
    string s = "";
    for (i = 0; i < n; i++) {
      s += res[i];
    }
    cout << "!"
         << " " << s;
    puts("");
    fflush(stdout);
    return;
  }
}
int main() {
  int cs, ts, v;
  scanf("%d", &ts);
  for (cs = 0; cs < ts; cs++) {
    sum = 0.0;
    input();
    if (n >= 5) {
      solve2();
    } else {
      solve1();
    }
    scanf("%d", &v);
    if (v == 1) {
      continue;
    } else {
      break;
    }
  }
}