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