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;
template <class T>
void _R(T &x) {
  cin >> x;
}
void _R(int &x) { scanf("%d", &x); }
void _R(long long &x) { scanf("%lld", &x); }
void _R(double &x) { scanf("%lf", &x); }
void _R(char &x) { scanf(" %c", &x); }
void _R(char *x) { scanf("%s", x); }
void R() {}
template <class T, class... U>
void R(T &head, U &...tail) {
  _R(head);
  R(tail...);
}
template <class T>
void _W(const T &x) {
  cout << x;
}
void _W(const int &x) { printf("%d", x); }
void _W(const long long &x) { printf("%lld", x); }
void _W(const double &x) { printf("%.16f", x); }
void _W(const char &x) { putchar(x); }
void _W(const char *x) { printf("%s", x); }
template <class T, class U>
void _W(const pair<T, U> &x) {
  _W(x.first);
  putchar(' ');
  _W(x.second);
}
template <class T>
void _W(const vector<T> &x) {
  for (auto i = x.begin(); i != x.end(); _W(*i++))
    if (i != x.cbegin()) putchar(' ');
}
void W() {}
template <class T, class... U>
void W(const T &head, const U &...tail) {
  _W(head);
  putchar(sizeof...(tail) ? ' ' : '\n');
  W(tail...);
}
int MOD = 1e9 + 7;
void ADD(long long &x, long long v) {
  x = (x + v) % MOD;
  if (x < 0) x += MOD;
}
const int SIZE = 1e6 + 10;
int cnt[101][26];
char an[101];
pair<pair<int, int>, pair<char, char>> e[10000];
int en;
void query(int l, int r) {
  W("?", l, r);
  fflush(stdout);
  int num = (r - l + 1);
  memset((cnt), 0, sizeof((cnt)));
  for (int i = (1); i <= (num * (num + 1) / 2); ++i) {
    string s;
    R(s);
    if (((int)(s).size()) <= (num + 1) / 2) {
      for (char c : s) {
        cnt[((int)(s).size())][c - 'a']++;
      }
    }
  }
  int m = (num + 1) / 2;
  for (int i = m - 1; i >= 1; i--) {
    for (int j = 0; j < (26); ++j) cnt[i + 1][j] -= cnt[i][j];
  }
  for (int i = 1; i < m; i++) {
    for (int j = 0; j < (26); ++j) cnt[i][j] -= cnt[i + 1][j];
  }
  string ret;
  for (int i = (1); i <= (m); ++i) {
    for (int j = 0; j < (26); ++j) {
      if (cnt[i][j]) {
        cnt[i][j]--;
        ret += 'a' + j;
        break;
      }
    }
  }
  for (int i = m; i >= 1; i--) {
    for (int j = 0; j < (26); ++j) {
      if (cnt[i][j]) {
        cnt[i][j]--;
        ret += 'a' + j;
        break;
      }
    }
  }
  int ll = 0, rr = num - 1;
  while (ll <= rr) {
    if (ll == rr) {
      an[l] = ret[ll];
    } else {
      e[en++] = make_pair(make_pair(l, r), make_pair(ret[ll], ret[rr]));
    }
    ll++;
    rr--;
    l++;
    r--;
  }
}
int main() {
  int n;
  R(n);
  if (n == 1) {
    query(1, 1);
  } else if (n % 2 == 0) {
    query(1, n - 1);
    query(n / 2, n - 1);
    query(n / 2, n);
  } else {
    query(1, n);
    query(1, n / 2);
    query(1, n / 2 + 1);
  }
  for (int i = 0; i < (1000); ++i) {
    for (int j = 0; j < (en); ++j) {
      if (an[e[j].first.first]) {
        an[e[j].first.second] = (int)e[j].second.second +
                                (int)e[j].second.first - an[e[j].first.first];
      }
      if (an[e[j].first.second]) {
        an[e[j].first.first] = (int)e[j].second.second +
                               (int)e[j].second.first - an[e[j].first.second];
      }
    }
  }
  W("!", string(an + 1));
  return 0;
}