#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  cout << "? " << 1 << " " << 3 << endl;
  int ac;
  cin >> ac;
  cout << "? " << 1 << " " << 2 << endl;
  int ab;
  cin >> ab;
  cout << "? " << 2 << " " << 3 << endl;
  int bc;
  cin >> bc;
  int amc = ab - bc;
  int a2 = ac + amc;
  int a = a2 / 2;
  int b = ab - a;
  int c = bc - b;
  vector<int> res = {a, b, c};
  for (int i = 0; i < n - 3; i++) {
    cout << "? " << 1 << " " << i + 4 << endl;
    int tmp;
    cin >> tmp;
    res.push_back(tmp - a);
  }
  cout << "! ";
  for (int val : res) cout << val << " ";
  cout << endl;
}
