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 double EPS = (long double)1e-7;
const long double PI = acos(0) * 2;
bool isZero(const long double& x) { return abs(x) <= EPS; }
int sign(const long double& x) { return isZero(x) ? 0 : (0 < x ? 1 : -1); }
long long gcd(long long a, long long b) {
  for (; b; a %= b, swap(a, b)) {
  }
  return abs(a);
}
pair<long long, long long> operator+(const pair<long long, long long>& a,
                                     const pair<long long, long long>& b) {
  return pair<long long, long long>(a.first + b.first, a.second + b.second);
}
pair<long long, long long> operator-(const pair<long long, long long>& a,
                                     const pair<long long, long long>& b) {
  return pair<long long, long long>(a.first - b.first, a.second - b.second);
}
pair<long long, long long> operator*(const pair<long long, long long>& a,
                                     const long long& b) {
  return pair<long long, long long>(a.first * b, a.second * b);
}
long long operator*(const pair<long long, long long>& a,
                    const pair<long long, long long>& b) {
  return a.first * b.second - b.first * a.second;
}
long long ccw(const pair<long long, long long>& a,
              const pair<long long, long long>& b,
              const pair<long long, long long>& c) {
  return a * b + b * c + c * a;
}
void fg(vector<int> G[], int a, int b) {
  G[a].emplace_back(b);
  G[b].emplace_back(a);
}
void fg(vector<pair<int, int> > G[], int a, int b, int c) {
  G[a].emplace_back(b, c);
  G[b].emplace_back(a, c);
}
vector<string> A[105], B[105], C[105];
char Ans[105];
char StartKey;
int N;
int main() {
  scanf("%d", &N);
  if (1 == N) {
    printf("? 1 1\n");
    fflush(stdout);
    char tmp[5];
    scanf(" %s", tmp);
    printf("! %s\n", tmp);
    fflush(stdout);
    exit(0);
  }
  printf("? 1 %d\n", N);
  fflush(stdout);
  for (int t = N * (N + 1) / 2; t--;) {
    char str[105];
    scanf(" %s", str);
    string S(str);
    A[((int)(S).size())].emplace_back(S);
  }
  printf("? 1 1\n");
  fflush(stdout);
  {
    char str[55];
    scanf(" %s", str);
    StartKey = str[0];
    B[1].emplace_back(string(str));
  }
  printf("? 2 %d\n", N);
  fflush(stdout);
  for (int t = (N - 1) * N / 2; t--;) {
    char str[105];
    scanf(" %s", str);
    string S(str);
    C[((int)(S).size())].emplace_back(S);
  }
  Ans[1] = StartKey;
  multiset<string> G[105];
  for (int i = 2; i <= N; i++) {
    for (auto& v : A[i]) sort(((v).begin()), ((v).end()));
    for (auto& v : C[i]) sort(((v).begin()), ((v).end()));
    for (auto& v : A[i]) G[i].insert(v);
    for (auto& v : C[i]) G[i].erase(G[i].find(v));
  }
  for (int i = 2; i <= N; i++) {
    int cnt[55] = {
        0,
    };
    for (int j = 1; j < i; j++) cnt[Ans[j] - 'a']++;
    auto S = *G[i].begin();
    for (int j = 0; j < i; j++) cnt[S[j] - 'a']--;
    for (int j = 'a'; j <= 'z'; j++) {
      if (cnt[j - 'a']) Ans[i] = j;
    }
  }
  printf("! %s\n", Ans + 1);
  return 0;
}