#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[5001];
  cin >> n;
  for (int i = 2; i <= n; i++) {
    cout << "?"
         << " " << 1 << " " << i << endl;
    fflush(stdout);
    cin >> a[i - 1];
  }
  cout << "? " << 2 << " " << n << endl;
  fflush(stdout);
  cin >> a[n];
  a[0] = (a[n - 1] - a[n] + a[1]) / 2;
  int old = a[0];
  cout << "!"
       << " " << a[0] << " ";
  for (int i = 1; i < n; i++) {
    old = a[i] - a[0];
    cout << old << " ";
  }
}
