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>
using namespace std;
const long long oo = 1e18;
const long long MAXN = 110;
long long N;
vector<string> query(long long a, long long b) {
  cout << "?"
       << " " << a << " " << b << '\n';
  fflush(stdout);
  long long sz = b - a + 1;
  vector<string> vect;
  for (long long i = 0; i < sz * (sz + 1) / 2; i++) {
    string cad;
    cin >> cad;
    vect.push_back(cad);
  }
  return vect;
}
void res(string cad) {
  cout << "!"
       << " " << cad << '\n';
  fflush(stdout);
}
struct edge {
  long long nodo;
  char a, b;
};
vector<edge> L[MAXN];
char xx, yy;
void solve(vector<string> vect, long long des) {
  vector<string> arr[MAXN];
  long long sz = 0;
  for (long long i = 0; i < vect.size(); i++) {
    arr[vect[i].size()].push_back(vect[i]);
    sz = max(sz, (long long)vect[i].size());
  }
  map<char, long long> cont;
  for (long long i = 0; i < sz; i++) {
    cont[arr[sz][0][i]]++;
  }
  vector<edge> vv;
  for (long long i = 2; i <= sz / 2 + 1; i++) {
    map<char, long long> mp;
    map<char, long long> temp;
    for (auto x : cont) {
      temp[x.first] = x.second * i;
    }
    for (long long i = 0; i < vv.size(); i++) {
      temp[vv[i].a] += i + 1;
      temp[vv[i].b] += i + 1;
    }
    for (auto cad : arr[i]) {
      for (long long x = 0; x < i; x++) {
        mp[cad[x]]++;
      }
    }
    char a, b;
    for (auto x : temp) {
      if (x.second > mp[x.first]) {
        a = x.first;
        break;
      }
    }
    temp[a]--;
    for (auto x : temp) {
      if (x.second > mp[x.first]) {
        b = x.first;
        break;
      }
    }
    cont[a]--;
    cont[b]--;
    vv.push_back({0, a, b});
    L[i - 1 + des].push_back({sz - i + 2 + des, a, b});
    L[sz - i + 2 + des].push_back({i - 1 + des, a, b});
    if (i == 2 && des == 0) {
      xx = a;
      yy = b;
    }
  }
}
char ss[MAXN];
void DFS(long long nodo, long long padre, char c) {
  ss[nodo] = c;
  for (auto v : L[nodo]) {
    if (v.nodo != padre) {
      char temp;
      if (v.a == c)
        temp = v.b;
      else
        temp = v.a;
      DFS(v.nodo, nodo, temp);
    }
  }
}
int32_t main() {
  cin >> N;
  vector<string> vect = query(1, N);
  if (N == 1) {
    res(vect[0]);
    return 0;
  }
  solve(vect, 0);
  vect = query(2, N);
  solve(vect, 1);
  if (xx != yy) {
    vect = query(1, 1);
    DFS(1, -1, vect[0][0]);
    string st;
    for (long long i = 1; i <= N; i++) st += ss[i];
    res(st);
  } else {
    DFS(1, -1, xx);
    string st;
    for (long long i = 1; i <= N; i++) st += ss[i];
    for (long long i = 0; i < N; i++) {
      if (st[i] != st[N - i - 1]) {
        vect = query(i + 1, i + 1);
        char cc = vect[0][0];
        if (st[i] != cc) {
          reverse(st.begin(), st.end());
        }
        break;
      }
    }
    res(st);
  }
  return 0;
}