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