#include <bits/stdc++.h>
using namespace std;
int a[5000 + 10], i, k, n, m, r, l, o, x, y, z;
int main() {
  cin >> n;
  cout << '?' << " " << 1 << " " << 2 << endl;
  fflush(stdout);
  cin >> x;
  cout << '?' << " " << 2 << " " << 3 << endl;
  fflush(stdout);
  cin >> y;
  cout << '?' << " " << 1 << " " << 3 << endl;
  fflush(stdout);
  cin >> z;
  a[3] = (y - x + z) / 2;
  a[1] = z - a[3];
  a[2] = y - a[3];
  for (i = 4; i <= n; i++) {
    cout << '?' << " " << 1 << " " << i << endl;
    fflush(stdout);
    cin >> o;
    a[i] = o - a[1];
  }
  cout << '!' << " ";
  for (i = 1; i <= n; i++) cout << a[i] << " ";
  cout << endl;
  fflush(stdout);
}
