#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, ab, bc, ac;
  cin >> n;
  cout << "? 1 2\n\n? 2 3\n\n? 1 3\n" << endl;
  cin >> ab >> bc >> ac;
  vector<int> v(n);
  v[0] = (ab + ac - bc) / 2;
  v[1] = ab - v[0];
  v[2] = ac - v[0];
  for (int i = 3; i < n; ++i) {
    cout << "? 1 " << i + 1 << '\n' << endl;
    cin >> v[i];
    v[i] -= v[0];
  }
  cout << '!';
  for (int i = 0; i < n; ++i) cout << ' ' << v[i];
  cout << endl;
  return 0;
}
