#include <bits/stdc++.h>
using namespace std;
int n, sa[105], sb[105];
string A[5055], B[5055];
int Z[105];
char ret[105];
int main() {
  cin >> n;
  cout << "? 1 " << n << endl;
  if (n == 1) {
    char c;
    cin >> c;
    cout << "! " << c << endl;
    return 0;
  }
  for (int i = 0; i < n * (n + 1) / 2; i++) {
    cin >> A[i];
    int c = 0, j;
    for (j = 0; A[i][j]; j++) {
      c += A[i][j] - 'a';
    }
    sa[j] += c;
  }
  cout << "? 1 " << n - 1 << endl;
  for (int i = 0; i < (n - 1) * n / 2; i++) {
    cin >> B[i];
    int c = 0, j;
    for (j = 0; B[i][j]; j++) {
      c += B[i][j] - 'a';
    }
    sb[j] += c;
  }
  Z[0] = 0;
  for (int i = 1; i <= n; i++) {
    Z[i] = sa[i] - sb[i];
    ret[n - i] = Z[i] - Z[i - 1] + 'a';
  }
  cout << "! " << ret << endl;
  return 0;
}
