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