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