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