#include <bits/stdc++.h>
using namespace std;
long long a[100010], b[10];
int main() {
  long long n, i, j, k, p, cnt = 0, sum;
  cin >> n;
  for (i = 1; i <= n; i++) {
    if (i == 3) {
      cout << "? " << 2 << " " << 3 << endl;
      fflush(stdout);
    } else if (i < 3) {
      cout << "? " << 1 << " " << i + 1 << endl;
      fflush(stdout);
    } else {
      cout << "? " << 1 << " " << i << endl;
      fflush(stdout);
    }
    cin >> sum;
    if (i < 3) {
      b[i] = sum;
      cnt += sum;
    }
    if (i == 3) {
      cnt -= sum;
      a[1] = cnt / 2;
      a[2] = b[1] - a[1];
      a[3] = b[2] - a[1];
    }
    if (i > 3) {
      a[i] = sum - a[1];
    }
  }
  cout << "! ";
  fflush(stdout);
  for (i = 1; i <= n; i++) {
    cout << a[i] << " ";
    fflush(stdout);
  }
}
