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>
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx")
#pragma GCC optimize 03
#pragma GCC optimize("unroll-loops")
using namespace std;
long long gcd(long long a, long long b) { return (a == 0) ? b : gcd(b % a, a); }
long long cnt1(long long x) {
  long long cnt = 0;
  while (x > 0) x &= x - 1, cnt++;
  return cnt;
}
long long fact(long long n) { return n == 0 ? 1LL : n * fact(n - 1); }
long long fact(long long n, long long p) {
  return n == 0 ? 1LL : n * fact(n - 1) % p;
}
long long cnk(long long n, long long k) {
  return n == 1 || k == 1 ? 1 : cnk(n - 1, k) + cnk(n - 1, k - 1);
}
long long pow(long long a, long long n, long long p) {
  if (n == 0) return 1;
  long long t = pow(a, n >> 1, p);
  return t * t % p * (n & 1 ? a : 1) % p;
}
long long back(long long x, long long p) { return pow(x, p - 2, p); }
long long cnk(long long n, long long k, long long p) {
  return fact(n, p) * back(fact(k, p), p) % p * back(fact(n - k, p), p) % p;
}
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
template <class T>
istream& operator>>(istream& stream, vector<T>& v) {
  for (long long i = 0; i < (long long)v.size(); i++) stream >> v[i];
  return stream;
}
template <class T1, class T2>
istream& operator>>(istream& stream, pair<T1, T2>& p) {
  return stream >> p.first >> p.second;
}
template <class T>
ostream& operator<<(ostream& stream, const vector<T>& v) {
  for (long long i = 0; i < (long long)v.size(); i++) stream << v[i] << ' ';
  stream << '\n';
  return stream;
}
template <class T1, class T2>
ostream& operator<<(ostream& stream, const pair<T1, T2>& p) {
  return stream << p.first << ' ' << p.second;
}
const long long N = 2000;
long long p[N], c[N];
vector<long long> gr[N];
vector<long long> dfs(long long v) {
  vector<long long> vert;
  for (long long u : gr[v]) {
    auto t = dfs(u);
    vert.insert(vert.end(), t.begin(), t.end());
  }
  if (vert.size() < c[v]) {
    cout << "NO";
    exit(0);
  }
  vert.insert(vert.begin() + c[v], v);
  return vert;
}
signed main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  srand(time(0));
  long long n;
  cin >> n;
  if (n == 1) {
    cout << "? 1 1" << endl;
    string ans;
    cin >> ans;
    cout << "! " << ans;
    return 0;
  }
  cout << "? " << 1 << ' ' << n << endl;
  vector<string> a(n * (n + 1) / 2);
  for (auto& s : a) {
    cin >> s;
    sort(s.begin(), s.end());
  }
  cout << "? " << 1 << ' ' << n - 1 << endl;
  vector<string> b(n * (n - 1) / 2);
  for (auto& s : b) {
    cin >> s;
    sort(s.begin(), s.end());
  }
  sort(a.begin(), a.end());
  sort(b.begin(), b.end());
  vector<string> diff;
  for (long long i = 0, j = 0; i < a.size() || j < b.size();) {
    if (i == a.size() || j < b.size() && a[i] > b[j])
      diff.push_back(b[j++]);
    else if (j == b.size() || i < a.size() && a[i] < b[j])
      diff.push_back(a[i++]);
    else
      i++, j++;
  }
  sort(diff.begin(), diff.end(),
       [](string& a, string& b) { return a.size() < b.size(); });
  string ans;
  string last = "";
  for (long long i = 0; i < n; i++) {
    long long cnt[26] = {0};
    for (char c : last) cnt[c - 'a']--;
    for (char c : diff[i]) cnt[c - 'a']++;
    for (long long i = 0; i < 26; i++)
      if (cnt[i]) ans.push_back(i + 'a');
    last = diff[i];
  }
  reverse(ans.begin(), ans.end());
  cout << "! " << ans;
}