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