#include <bits/stdc++.h>
using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
long long ask(long long i, long long j) {
  cout << "? " << i + 1 << ' ' << j + 1 << endl;
  long long ret;
  cin >> ret;
  return ret;
}
signed main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  long long n;
  cin >> n;
  vector<long long> ans(n);
  long long a = ask(0, 1), b = ask(0, 2), c = ask(1, 2);
  ans[0] = (a + b - c) / 2;
  ans[1] = a - ans[0];
  ans[2] = b - ans[0];
  for (long long i = 3; i < n; i++) {
    ans[i] = ask(0, i) - ans[0];
  }
  cout << "! ";
  for (auto x : ans) {
    cout << x << ' ';
  }
  cout << endl;
}
