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