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;
struct __STARTER_OF_PROGRAM__ {
  __STARTER_OF_PROGRAM__() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr), cout.tie(nullptr);
    cout << fixed << setprecision(12);
  }
} __starter_of_program__;
using ll = long long;
using ull = unsigned long long;
using uint = unsigned int;
using ld = long double;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using pli = pair<ll, int>;
using pil = pair<int, ll>;
template <typename T>
using min_queue = priority_queue<T, vector<T>, greater<T> >;
template <typename T>
using max_queue = priority_queue<T>;
mt19937 gen(chrono::steady_clock::now().time_since_epoch().count());
static uniform_int_distribution<int> __disint__;
inline int randint(void) { return __disint__(gen); }
inline int randint(int l, int r) { return __disint__(gen) % (r - l + 1) + l; }
template <typename T>
inline void reinit(T &t) {
  t.~T();
  new (&t) T();
}
template <typename T>
inline T chmax(T &x, T y) {
  return x = max(x, y);
}
template <typename T>
inline T chmin(T &x, T y) {
  return x = min(x, y);
}
template <typename T>
inline T chmax(T &x, initializer_list<T> i) {
  return x = max(x, max(i));
}
template <typename T>
inline T chmin(T &x, initializer_list<T> i) {
  return x = min(x, min(i));
}
inline void read() {}
inline void write() {}
template <typename T>
inline void read(T &x) {
  cin >> x;
}
template <typename T>
inline void write(const T &x) {
  cout << x;
}
template <typename T, typename U>
inline void write(const pair<T, U> &x) {
  write(x.first), cout.put(' '), write(x.second);
}
template <typename T, typename U>
inline void read(pair<T, U> &x) {
  read(x.first), read(x.second);
}
template <typename T, typename... Ts>
inline void read(T &x, Ts &...y) {
  read(x), read(y...);
}
template <typename T, typename... Ts>
inline void write(const T &x, const Ts &...y) {
  write(x), (sizeof...(y) && (cout.put(' '), 0)), write(y...);
}
template <typename It>
inline void _write(It a, It b) {
  register char flag = 0;
  while (a != b) {
    flag && (cout.put(' '), 0);
    write(*a++), flag = 1;
  }
}
const int mod1 = 1000000007, mod2 = 998244353, mod3 = 1000000009;
const double EPS = 1e-9, PI = acos(-1.0), _E_ = exp(1.0);
const int inf = 0x3f3f3f3f;
const ll lnf = 0x3f3f3f3f3f3f3f3f;
int n;
inline vector<string> ask(int l, int r) {
  if (l > r) {
    return vector<string>();
  }
  (write('?', l, r), cout.put('\n'), 0);
  cout.flush();
  vector<string> v;
  int len = r - l + 1;
  for (register int i = (1); i <= (len * (len + 1) / 2); ++i) {
    string s;
    read(s);
    sort(s.begin(), s.end());
    v.push_back(s);
  }
  sort(v.begin(), v.end());
  return v;
}
signed main(int argc, const char *argv[]) {
  read(n);
  vector<string> all = ask(1, n);
  vector<string> f = ask(1, 1);
  vector<string> rest = ask(2, n);
  multiset<string> restt, ff;
  for (auto &x : rest) restt.insert(x);
  ff.insert(f[0]);
  multiset<string> r;
  for (auto &x : all) {
    if (ff.find(x) != ff.end()) {
      ff.erase(ff.find(x));
    } else if (restt.find(x) != restt.end()) {
      restt.erase(restt.find(x));
    } else
      r.insert(x);
  }
  vector<string> rr;
  rr.push_back(f[0]);
  for (auto &x : r) rr.push_back(x);
  assert(((int)rr.size()) == n);
  sort(rr.begin(), rr.end(), [&](const string &a, const string &b) {
    return ((int)a.size()) < ((int)b.size());
  });
  string ans;
  for (register int i = 0; i < (n); ++i) {
    if (!i) {
      ans += rr[i][0];
      continue;
    } else {
      multiset<char> now;
      for (auto &x : rr[i]) now.insert(x);
      for (auto &x : rr[i - 1]) now.erase(now.find(x));
      ans += *now.begin();
    }
  }
  write("! ");
  (write(ans), cout.put('\n'), 0);
  return 0;
}