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;
int n, cnt;
char s[105];
int ans[105], num[105][30], tn[105], tp[30];
struct pl {
  int a, b;
  int t1, t2;
} e[105 * 105 * 10];
void work(int li, int ri) {
  if (li > n || ri < 1 || li > ri) return;
  printf("? %d %d\n", li, ri);
  fflush(stdout);
  memset(num, 0, sizeof num);
  int si = (ri - li + 1);
  int len = si * (si + 1) / 2;
  for (int i = 1; i <= len; i++) {
    scanf("%s", s + 1);
    int le = strlen(s + 1);
    for (int j = 1; j <= le; j++) num[le][s[j] - 'a' + 1]++;
  }
  memset(tn, 0, sizeof tn);
  for (int i = 1; i <= (si - 1) / 2; i++) {
    memset(tp, 0, sizeof tp);
    for (int j = 1; j <= 26; j++) tp[j] = num[1][j] * (i + 1);
    for (int j = 1; j < i; j++)
      tp[tn[j]] -= i + 1 - j, tp[tn[si - j + 1]] -= i + 1 - j;
    for (int j = 1; j <= 26; j++) tp[j] -= num[i + 1][j];
    for (int j = 1; j <= 26; j++) {
      for (int k = 1; k <= tp[j]; k++) {
        if (tn[i] == 0)
          tn[i] = j;
        else
          tn[si - i + 1] = j;
      }
    }
  }
  int tk = (si + 1) / 2;
  for (int j = 1; j <= 26; j++) tp[j] = num[1][j];
  for (int i = 1; i <= si; i++) tp[tn[i]]--;
  for (int j = 1; j <= 26; j++) {
    for (int k = 1; k <= tp[j]; k++) {
      if (tn[tk] == 0)
        tn[tk] = j;
      else
        tn[si - tk + 1] = j;
    }
  }
  for (int i = 1; i <= si / 2; i++) {
    cnt++;
    e[cnt].a = li + i - 1;
    e[cnt].b = li + si - i;
    e[cnt].t1 = tn[i];
    e[cnt].t2 = tn[si - i + 1];
  }
  if (si & 1) ans[li + tk - 1] = tn[tk];
}
void dfs(int a) {
  for (int i = 1; i <= cnt; i++) {
    if (e[i].a == a) {
      if (ans[e[i].b] == 0) {
        if (e[i].t1 == ans[a])
          ans[e[i].b] = e[i].t2;
        else
          ans[e[i].b] = e[i].t1;
        dfs(e[i].b);
      }
    }
    if (e[i].b == a) {
      if (ans[e[i].a] == 0) {
        if (e[i].t1 == ans[a])
          ans[e[i].a] = e[i].t2;
        else
          ans[e[i].a] = e[i].t1;
        dfs(e[i].a);
      }
    }
  }
}
int main() {
  scanf("%d", &n);
  int tmp = (n + 1) / 2;
  work(1, n);
  work(1, tmp);
  work(tmp + 2, n);
  for (int i = 1; i <= n; i++) {
    if (ans[i] != 0) dfs(i);
  }
  printf("! ");
  for (int i = 1; i <= n; i++) {
    char c = ans[i] + 'a' - 1;
    printf("%c", c);
  }
  puts("");
  fflush(stdout);
  return 0;
}