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;
template <typename A, typename B>
string to_string(pair<A, B> p);
template <typename A, typename B, typename C>
string to_string(tuple<A, B, C> p);
template <typename A, typename B, typename C, typename D>
string to_string(tuple<A, B, C, D> p);
string to_string(const string& s) { return '"' + s + '"'; }
string to_string(const char* s) { return to_string((string)s); }
string to_string(bool b) { return (b ? "true" : "false"); }
string to_string(vector<bool> v) {
  bool first = true;
  string res = "{";
  for (int i = 0; i < static_cast<int>(v.size()); i++) {
    if (!first) {
      res += ", ";
    }
    first = false;
    res += to_string(v[i]);
  }
  res += "}";
  return res;
}
template <size_t N>
string to_string(bitset<N> v) {
  string res = "";
  for (size_t i = 0; i < N; i++) {
    res += static_cast<char>('0' + v[i]);
  }
  return res;
}
template <typename A>
string to_string(A v) {
  bool first = true;
  string res = "{";
  for (const auto& x : v) {
    if (!first) {
      res += ", ";
    }
    first = false;
    res += to_string(x);
  }
  res += "}";
  return res;
}
template <typename A, typename B>
string to_string(pair<A, B> p) {
  return "(" + to_string(p.first) + ", " + to_string(p.second) + ")";
}
template <typename A, typename B, typename C>
string to_string(tuple<A, B, C> p) {
  return "(" + to_string(get<0>(p)) + ", " + to_string(get<1>(p)) + ", " +
         to_string(get<2>(p)) + ")";
}
template <typename A, typename B, typename C, typename D>
string to_string(tuple<A, B, C, D> p) {
  return "(" + to_string(get<0>(p)) + ", " + to_string(get<1>(p)) + ", " +
         to_string(get<2>(p)) + ", " + to_string(get<3>(p)) + ")";
}
void debug_out() { cerr << endl; }
template <typename Head, typename... Tail>
void debug_out(Head H, Tail... T) {
  cerr << " " << to_string(H);
  debug_out(T...);
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int tt;
  cin >> tt;
  while (tt--) {
    int n;
    cin >> n;
    string s(n, '?');
    auto Ask = [&](string t) {
      cout << "? " << t << endl;
      int foo;
      cin >> foo;
      for (int i = 0; i < foo; i++) {
        int bar;
        cin >> bar;
        --bar;
        for (int j = 0; j < (int)t.size(); j++) {
          s[bar + j] = t[j];
        }
      }
    };
    if (n <= 7) {
      Ask("CH");
      Ask("CO");
      if (s == string(n, '?')) {
        if (n == 4) {
          Ask("HO");
          if (s == string(n, '?')) {
            Ask("OH");
            if (s == string(n, '?')) {
              Ask("CCC");
              if (s == string(n, '?')) {
                Ask("OOO");
                if (s[0] == 'O') {
                  if (s[n - 1] == '?') s[n - 1] = 'C';
                } else {
                  Ask("HHH");
                  if (s[0] == 'H') {
                    if (s[n - 1] == '?') s[n - 1] = 'C';
                  } else {
                    Ask("OOCC");
                    if (s == string(n, '?')) s = "HHCC";
                  }
                }
              } else {
                Ask("HCCC");
                Ask("OCCC");
              }
            } else {
              for (int i = 0; i < n; i++) {
                if (s[i] == '?') {
                  s[i] = 'O';
                } else {
                  break;
                }
              }
              goto haha;
            }
          } else {
            goto haha;
          }
        } else {
          Ask("CC");
          if (s[1] != '?' && s[0] == '?') {
            string q = s;
            q[0] = 'H';
            Ask(q);
            if (s[0] == '?') {
              s[0] = 'O';
            }
          } else {
            Ask("OH");
            Ask("HO");
            if (s == string(n, '?')) {
              Ask(string(n, 'H'));
              Ask(string(n, 'O'));
              if (s == string(n, '?')) {
                string q(n, 'H');
                q[n - 1] = 'C';
                Ask(q);
                if (s == string(n, '?')) {
                  s = string(n, 'O');
                  s[n - 1] = 'C';
                }
              }
            } else {
              if (s[n - 1] == 'C' && s.find("H") == string::npos &&
                  s.find("O") == string::npos) {
                string q = s;
                for (int i = 0; i < n; i++) {
                  if (q[i] == '?') {
                    q[i] = 'H';
                  }
                }
                Ask(q);
                if (s[0] == '?') {
                  for (int i = 0; i < n; i++) {
                    if (s[i] == '?') {
                      s[i] = 'O';
                    }
                  }
                }
              } else {
                int beg = 0;
                while (beg < n) {
                  if (s[beg] != '?') {
                    ++beg;
                    continue;
                  }
                  int end = beg;
                  while (end + 1 < n && s[end + 1] == '?') {
                    ++end;
                  }
                  if (beg == 0) {
                    for (int i = beg; i <= end; i++) {
                      s[i] = s[end + 1];
                    }
                  } else {
                    for (int i = beg; i <= end; i++) {
                      s[i] = s[beg - 1];
                    }
                  }
                  beg = end + 1;
                }
                string q = s;
                q[n - 1] = 'C';
                Ask(q);
              }
            }
          }
        }
      } else {
      haha:
        while (true) {
          bool any = false;
          for (int i = 0; i < n; i++) {
            if (s[i] == '?') {
              any = true;
              break;
            }
          }
          if (!any) {
            break;
          }
          bool found = false;
          for (int i = 0; i + 4 < n; i++) {
            if (s[i] == '?' && s[i + 1] != '?' && s[i + 2] != '?' &&
                s[i + 3] != '?' && s[i + 4] != '?') {
              string q = "C";
              q += s[i + 1];
              q += s[i + 2];
              q += s[i + 3];
              q += s[i + 4];
              Ask(q);
              if (s[i] == '?') {
                q[0] = 'O';
                Ask(q);
                if (s[i] == '?') {
                  s[i] = 'H';
                }
              }
              found = true;
              break;
            }
          }
          if (found) continue;
          for (int i = 0; i + 4 < n; i++) {
            if (s[i] != '?' && s[i + 1] != '?' && s[i + 2] != '?' &&
                s[i + 3] != '?' && s[i + 4] == '?') {
              string q = "";
              q += s[i];
              q += s[i + 1];
              q += s[i + 2];
              q += s[i + 3];
              q += "C";
              Ask(q);
              if (s[i + 4] == '?') {
                q[4] = 'O';
                Ask(q);
                if (s[i + 4] == '?') {
                  s[i + 4] = 'H';
                }
              }
              found = true;
              break;
            }
          }
          if (found) continue;
          for (int i = 0; i + 3 < n; i++) {
            if (s[i] == '?' && s[i + 1] != '?' && s[i + 2] != '?' &&
                s[i + 3] != '?') {
              string q = "C";
              q += s[i + 1];
              q += s[i + 2];
              q += s[i + 3];
              Ask(q);
              if (s[i] == '?') {
                q[0] = 'O';
                Ask(q);
                if (s[i] == '?') {
                  s[i] = 'H';
                }
              }
              found = true;
              break;
            }
          }
          if (found) continue;
          for (int i = 0; i + 3 < n; i++) {
            if (s[i] != '?' && s[i + 1] != '?' && s[i + 2] != '?' &&
                s[i + 3] == '?') {
              string q = "";
              q += s[i];
              q += s[i + 1];
              q += s[i + 2];
              q += "C";
              Ask(q);
              if (s[i + 3] == '?') {
                q[3] = 'O';
                Ask(q);
                if (s[i + 3] == '?') {
                  s[i + 3] = 'H';
                }
              }
              found = true;
              break;
            }
          }
          if (found) continue;
          for (int i = 0; i + 2 < n; i++) {
            if (s[i] == '?' && s[i + 1] != '?' && s[i + 2] != '?') {
              string q = "C";
              q += s[i + 1];
              q += s[i + 2];
              Ask(q);
              if (s[i] == '?') {
                q[0] = 'O';
                Ask(q);
                if (s[i] == '?') {
                  s[i] = 'H';
                }
              }
              found = true;
              break;
            }
          }
          if (found) continue;
          for (int i = 0; i + 2 < n; i++) {
            if (s[i] != '?' && s[i + 1] != '?' && s[i + 2] == '?') {
              string q = "";
              q += s[i];
              q += s[i + 1];
              q += "C";
              Ask(q);
              if (s[i + 2] == '?') {
                q[2] = 'O';
                Ask(q);
                if (s[i + 2] == '?') {
                  s[i + 2] = 'H';
                }
              }
              found = true;
              break;
            }
          }
          assert(found);
        }
      }
    } else {
      Ask("CH");
      Ask("CO");
      Ask("HC");
      Ask("HO");
      Ask("OC");
      if (s == string(n, '?')) {
        Ask(string(n, 'C'));
        if (s == string(n, '?')) {
          Ask("OHH");
          if (s == string(n, '?')) {
            Ask(string(n - 1, 'O'));
            if (s == string(n, '?')) {
              s = string(n, 'H');
            } else {
              if (s[n - 1] == '?') {
                s[n - 1] = 'H';
              }
            }
          } else {
            for (int i = 0; i < n; i++) {
              if (s[i] == '?') {
                s[i] = 'O';
              } else {
                break;
              }
            }
            for (int i = n - 1; i >= 0; i--) {
              if (s[i] == '?') {
                s[i] = 'H';
              } else {
                break;
              }
            }
          }
        }
      } else {
        Ask("OHH");
        int pref = 0, suf = 0;
        int beg = 0;
        while (beg < n) {
          if (s[beg] != '?') {
            ++beg;
            continue;
          }
          int end = beg;
          while (end + 1 < n && s[end + 1] == '?') {
            ++end;
          }
          if (beg == 0) {
            if (s[end + 1] != 'H') {
              for (int i = beg; i <= end; i++) {
                s[i] = s[end + 1];
              }
            } else {
              pref = end + 1;
            }
          } else {
            if (end == n - 1) {
              if (s[beg - 1] != 'O') {
                for (int i = beg; i <= end; i++) {
                  s[i] = s[beg - 1];
                }
              } else {
                for (int i = beg; i <= end - 1; i++) {
                  s[i] = 'O';
                }
                suf = 1;
              }
            } else {
              if (s[beg - 1] == 'O' && s[end + 1] == 'H') {
                for (int i = beg; i <= end; i++) {
                  s[i] = 'O';
                }
              } else {
                assert(s[beg - 1] == s[end + 1]);
                for (int i = beg; i <= end; i++) {
                  s[i] = s[beg - 1];
                }
              }
            }
          }
          beg = end + 1;
        }
        if (pref > 0) {
          string q = s;
          if (suf > 0) {
            q.pop_back();
          }
          for (int i = 0; i < pref; i++) {
            q[i] = 'O';
          }
          Ask(q);
          if (s[0] == '?') {
            for (int i = 0; i < pref; i++) {
              s[i] = 'H';
            }
          }
        }
        if (suf > 0) {
          string q = s;
          q[n - 1] = 'O';
          Ask(q);
          if (s[n - 1] == '?') {
            s[n - 1] = 'H';
          }
        }
      }
    }
    cout << "! " << s << endl;
    int foo;
    cin >> foo;
    if (foo == 0) break;
  }
  return 0;
}