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