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