Problem: This problem is different with hard version only by constraints on total answers length

It is an interactive problem

Venya joined a tour to the madhouse, in which orderlies play with patients the following game. Orderlies pick a string s of length n, consisting only of lowercase English letters. The player can ask two types of queries: 

  * ? l r – ask to list all substrings of s[l..r]. Substrings will be returned in random order, and in every substring, all characters will be randomly shuffled. 
  * ! s – guess the string picked by the orderlies. This query can be asked exactly once, after that the game will finish. If the string is guessed correctly, the player wins, otherwise he loses. 



The player can ask no more than 3 queries of the first type.

To make it easier for the orderlies, there is an additional limitation: the total number of returned substrings in all queries of the first type must not exceed (n+1)^2.

Venya asked you to write a program, which will guess the string by interacting with the orderlies' program and acting by the game's rules.

Your program should immediately terminate after guessing the string using a query of the second type. In case your program guessed the string incorrectly, or it violated the game rules, it will receive verdict Wrong answer.

Note that in every test case the string is fixed beforehand and will not change during the game, which means that the interactor is not adaptive.

Input

First line contains number n (1 ≤ n ≤ 100) — the length of the picked string.

Interaction

You start the interaction by reading the number n.

To ask a query about a substring from l to r inclusively (1 ≤ l ≤ r ≤ n), you should output

? l r

on a separate line. After this, all substrings of s[l..r] will be returned in random order, each substring exactly once. In every returned substring all characters will be randomly shuffled.

In the case, if you ask an incorrect query, ask more than 3 queries of the first type or there will be more than (n+1)^2 substrings returned in total, you will receive verdict Wrong answer.

To guess the string s, you should output

! s

on a separate line.

After printing each query, do not forget to flush the output. Otherwise, you will get Idleness limit exceeded. To flush the output, you can use: 

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



If you received - (dash) as an answer to any query, you need to terminate your program with exit code 0 (for example, by calling exit(0)). This means that there was an error in the interaction protocol. If you don't terminate with exit code 0, you can receive any unsuccessful verdict.

Hack format

To hack a solution, use the following format:

The first line should contain one integer n (1 ≤ n ≤ 100) — the length of the string, and the following line should contain the string s.

Example

Input


4

a
aa
a

cb
b
c

c

Output


? 1 2

? 3 4

? 4 4

! aabc

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
template <class T>
inline void read(T &x) {
  x = 0;
  register char c = getchar();
  register bool f = 0;
  while (!isdigit(c)) f ^= c == '-', c = getchar();
  while (isdigit(c)) x = x * 10 + c - '0', c = getchar();
  if (f) x = -x;
}
template <class T>
inline void print(T x) {
  if (x < 0) putchar('-'), x = -x;
  if (x > 9) print(x / 10);
  putchar(x % 10 + '0');
}
template <class T>
inline void print(T x, char c) {
  print(x), putchar(c);
}
template <class T>
inline void print(T a, int l, int r) {
  for (int i = l; i <= r; i++) print(a[i], " \n"[i == r]);
}
const int N = 110;
int n, m, l, r, col[N], vis[N], q[N];
std::vector<std::pair<int, std::pair<int, int>>> G[N];
struct atom {
  int a[26], len;
} res[N], cur, all, pri[N];
std::map<atom, int> map;
inline atom operator+(const atom &a, const atom &b) {
  atom c;
  for (int i = 0; i < 26; i++) c.a[i] = a.a[i] + b.a[i];
  return c;
}
inline atom operator-(const atom &a, const atom &b) {
  atom c;
  for (int i = 0; i < 26; i++) c.a[i] = a.a[i] - b.a[i];
  return c;
}
inline atom operator*(const atom &a, int b) {
  atom c;
  for (int i = 0; i < 26; i++) c.a[i] = a.a[i] * b;
  return c;
}
inline void read(atom &x) {
  std::string s;
  std::cin >> s;
  for (int i = 0; i < s.length(); i++) x.a[s[i] - 'a']++;
  x.len = s.length();
}
inline void add(int l, int r, int x, int y) {
  if (l == r) {
    assert(x == y);
    vis[l] = 1;
    col[l] = x;
    return;
  }
  G[l].push_back(std::make_pair(r, std::make_pair(x, y)));
  G[r].push_back(std::make_pair(l, std::make_pair(x, y)));
}
void solve(int l, int r) {
  printf("? %d %d\n", l, r);
  int m = r - l + 1;
  std::vector<atom> res(m * (m + 1) / 2);
  for (int i = 0; i < res.size(); i++) read(res[i]);
  for (int i = 0; i < res.size(); i++)
    if (res[i].len == m) all = res[i];
  for (int i = 1; i <= ((m + 1) >> 1); i++) {
    cur = all * (i + 1);
    for (auto x : res)
      if (x.len == m - i) cur = cur - x;
    for (int j = 1; j < i; j++) cur = cur - pri[j] * (i - j + 1);
    pri[i] = cur;
    for (int ii = 0; ii < 26; ii++)
      if (cur.a[ii]) {
        cur.a[ii]--;
        for (int jj = ii; jj < 26; jj++)
          if (cur.a[jj]) {
            add(l + i - 1, r - i + 1, ii, jj);
            break;
          }
        break;
      }
  }
}
int main() {
  read(n);
  if (n == 1) {
    printf("? 1 1\n");
    std::string s;
    std::cin >> s;
    std::cout << "! " << s << std::endl;
    return 0;
  }
  solve(1, n), solve(1, n >> 1);
  (n & 1) ? solve((n >> 1) + 1, n) : solve(n >> 1, n);
  l = 1;
  for (int i = 1; i <= n; i++)
    if (vis[i]) q[++r] = i;
  while (l <= r) {
    int u = q[l++];
    for (auto it : G[u]) {
      int v = it.first,
          w = col[u] == it.second.first ? it.second.second : it.second.first;
      if (!vis[v]) {
        vis[v] = 1, col[v] = w;
        q[++r] = v;
      }
      assert(col[v] == w);
    }
  }
  printf("! ");
  for (int i = 1; i <= n; i++) putchar(col[i] + 'a');
  putchar('\n');
}