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