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