#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  int j;
  int a[n + 5];
  a[1] = 1;
  int ab, ac, bc, x1, x2;
  cout << "? " << 1 << " " << 2 << endl;
  fflush(stdout);
  cin >> ab;
  cout << "? " << 1 << " " << 3 << endl;
  fflush(stdout);
  cin >> ac;
  cout << "? " << 2 << " " << 3 << endl;
  fflush(stdout);
  cin >> bc;
  a[1] = ((ac - 1) + (ab - (bc - 1))) / 2;
  a[2] = ab - a[1];
  a[3] = ac - a[1];
  for (int i = 4; i <= n; i++) {
    cout << "? " << 1 << " " << i << endl;
    fflush(stdout);
    cin >> j;
    a[i] = j - a[1];
  }
  cout << "! ";
  for (int i = 1; i <= n; i++) {
    cout << a[i] << " ";
  }
  cout << endl;
}
