#include <bits/stdc++.h>
using namespace std;
using u128 = __uint128_t;
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t = 1;
  while (t--) {
    long long n;
    cin >> n;
    vector<long long> ans(n, 0);
    cout << "? " << 1 << " " << n << endl;
    long long tot;
    cin >> tot;
    for (long long i = 2; i < n; i++) {
      cout << "? " << i << " " << n << endl;
      long long q;
      cin >> q;
      ans[i - 2] = tot - q;
      tot = q;
    }
    cout << "? " << n - 2 << " " << n - 1 << endl;
    long long q;
    cin >> q;
    ans[n - 2] = q - ans[n - 3];
    ans[n - 1] = tot - ans[n - 2];
    cout << "! ";
    for (long long i : ans) cout << i << " ";
    exit(0);
  }
  return 0;
}
