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