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