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