#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  int n;
  cin >> n;
  vector<int> ans(n);
  cout << "? " << 1 << " " << 2 << endl;
  fflush(stdout);
  int k = 0;
  cin >> k;
  cout << "? " << 1 << " " << 3 << endl;
  fflush(stdout);
  int k1 = 0;
  cin >> k1;
  ans[2] = k1 - k;
  cout << "? " << 2 << " " << 3 << endl;
  fflush(stdout);
  int k2 = 0;
  cin >> k2;
  ans[1] = k2 - ans[2];
  ans[0] = k - ans[1];
  for (int i = 2; i < n - 1; i++) {
    if (i + 1 == n) break;
    cout << "? " << i + 1 << " " << i + 2 << endl;
    fflush(stdout);
    int k = 0;
    cin >> k;
    ans[i + 1] = k - ans[i];
  }
  cout << "! ";
  for (auto c : ans) {
    cout << c << " ";
  }
}
