#include <bits/stdc++.h>
using namespace std;
int main() {
  ios ::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  int cnt[110][26];
  memset(cnt, 0, sizeof cnt);
  int n;
  cin >> n;
  cout << "? 1 " << n << endl;
  cout.flush();
  string temp;
  for (int i = 0; i < ((n + 1) * n / 2); i++) {
    cin >> temp;
    for (auto c : temp) {
      cnt[temp.size() - 1][c - 'a']++;
    }
  }
  if (n == 1) {
    cout << "! " << temp << endl;
    return 0;
  }
  cout << "? 2 " << n << endl;
  cout.flush();
  for (int i = 0; i < ((n - 1) * n / 2); i++) {
    string temp;
    cin >> temp;
    for (auto c : temp) {
      cnt[temp.size() - 1][c - 'a']--;
    }
  }
  string ans = "";
  for (int i = 0; i < n; i++) {
    int j;
    for (j = 0; j < 26; j++) {
      if (cnt[i][j]) {
        ans += (j + 'a');
        break;
      }
    }
    for (int k = i + 1; k < n; k++) {
      cnt[k][j]--;
    }
  }
  cout << "! " << ans << endl;
  cout.flush();
}
