#include <bits/stdc++.h>
using namespace std;
vector<int> ans;
int n, a1, a2, a3, temp;
int32_t main(void) {
  cin >> n;
  cout << "? 1 2\n";
  fflush(stdout);
  cin >> a1;
  cout << "? 2 3\n";
  fflush(stdout);
  cin >> a2;
  cout << "? 1 3\n";
  fflush(stdout);
  cin >> a3;
  temp = a1 + a2 + a3;
  temp = temp / 2;
  ans.push_back(temp - a2);
  ans.push_back(temp - a3);
  ans.push_back(temp - a1);
  for (int i = 4; i <= n; i++) {
    cout << "? 1 " << i << "\n";
    fflush(stdout);
    cin >> temp;
    ans.push_back(temp - ans[0]);
  }
  cout << "! ";
  for (int x : ans) cout << x << " ";
  cout << endl;
  return 0;
}
