#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int x, y, z, arr[n + 1];
  cout << "? 1 2" << endl << flush;
  cin >> x;
  cout << "? 1 3" << endl << flush;
  cin >> y;
  cout << "? 3 2" << endl << flush;
  cin >> z;
  int sum = (x + y + z) / 2;
  arr[1] = sum - z;
  arr[2] = sum - y;
  arr[3] = sum - x;
  for (int i = 4; i <= n; i++) {
    cout << "? 3 " << i << endl << flush;
    int a;
    cin >> a;
    arr[i] = a - arr[3];
  }
  cout << "!";
  for (int i = 1; i <= n; i++) cout << " " << arr[i];
  cout << flush;
}
