#include <bits/stdc++.h>
using namespace std::chrono;
using namespace std;
const long long int mod = 998244353;
int main() {
  cout << "? ";
  for (int i = 1; i < 101; ++i) cout << i << " ";
  cout << endl;
  int x;
  cin >> x;
  x = x & (((1 << 7) - 1) << 7);
  cout << "? ";
  for (int i = 1; i < 101; ++i) {
    int j = i << 7;
    cout << j << " ";
  }
  cout << endl;
  int y;
  cin >> y;
  y = y & 127;
  x = x + y;
  cout << "! " << x << endl;
}
