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