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