#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b, c, x[10000];
  cin >> n;
  cout << "? 1 2" << endl;
  fflush(stdout);
  cin >> a;
  cout << "? 3 2" << endl;
  fflush(stdout);
  cin >> b;
  cout << "? 1 3" << endl;
  fflush(stdout);
  cin >> c;
  x[2] = (a + b - c) / 2;
  x[1] = a - x[2];
  x[3] = b - x[2];
  for (int i = 4; i <= n; i++) {
    cout << "? " << i << " " << 2 << endl;
    fflush(stdout);
    cin >> a;
    x[i] = a - x[2];
  }
  cout << "! ";
  for (int i = 1; i < n; i++) {
    cout << x[i] << " ";
  }
  cout << x[n] << endl;
  fflush(stdout);
  return 0;
}
