#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long int t = 1;
  while (t--) {
    long long int n;
    cin >> n;
    vector<long long int> ans(n);
    cout << "? 1 3" << endl;
    cout.flush();
    long long int x;
    cin >> x;
    cout << "? 2 3" << endl;
    cout.flush();
    long long int y;
    cin >> y;
    ans[0] = x - y;
    cout << "? 1 2" << endl;
    cout.flush();
    cin >> y;
    ans[1] = y - ans[0];
    ans[2] = x - y;
    for (long long int i = 4; i <= n; i++) {
      cout << "? " << i - 1 << " " << i << endl;
      cout.flush();
      cin >> x;
      ans[i - 1] = x - ans[i - 2];
    }
    cout << "! ";
    for (auto x : ans) cout << x << " ";
    cout << endl;
  }
}
