#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s;
  if (n == 1) {
    cout << "? 1 1\n";
    cin >> s;
    cout << "! " << s << flush << endl;
    return 0;
  }
  int cnt[n + 1][26];
  for (int i = 0; i <= n; i++) {
    for (int j = 0; j < 26; j++) cnt[i][j] = 0;
  }
  cout << "? 1 " << n << flush << endl;
  for (int i = 0; i < n * (n + 1) / 2; i++) {
    cin >> s;
    for (int j = 0; j < s.size(); j++) cnt[s.size()][s[j] - 'a']++;
  }
  cout << "? 2 " << n << flush << endl;
  for (int i = 0; i < n * (n - 1) / 2; i++) {
    cin >> s;
    for (int j = 0; j < s.size(); j++) cnt[s.size()][s[j] - 'a']--;
  }
  string op = "";
  for (int i = 1; i <= n; i++) {
    for (int j = 0; j < 26; j++) {
      if (cnt[i][j]) {
        op += char('a' + j);
        for (int k = i + 1; k <= n; k++) cnt[k][j]--;
        break;
      }
    }
  }
  cout << "! " << op << flush << endl;
  return 0;
}
