#include <bits/stdc++.h>
using namespace std;
void maxi(int &a, int b) { a = max(a, b); }
int n;
const int N = 110;
int SA[N];
int SB[N];
char A[5050][N];
char B[5050][N];
char Z[N + 1];
char ret[N];
int main() {
  cin >> n;
  cout << "? 1 " << n << "\n";
  if (n == 1) {
    char c;
    cin >> c;
    cout << "! " << c;
    return 0;
  }
  for (int i = 0; i < (n + 1) * n / 2; i++) {
    cin >> A[i];
    int c = 0;
    int j;
    for (j = 0; A[i][j]; j++) {
      c += A[i][j] - 'a';
    }
    SA[j] += c;
  }
  cout << "? "
       << "1 " << n - 1 << "\n";
  for (int i = 0; i < (n - 1) * n / 2; i++) {
    cin >> B[i];
    int c = 0;
    int 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;
}
