#include <bits/stdc++.h>
using namespace std;
long long ask(long long l, long long r) {
  cout << "? " << l << " " << r << endl;
  long long res;
  cin >> res;
  return res;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.precision(10);
  long long n;
  cin >> n;
  vector<long long> a(n + 1, 0), ans(n + 1, 0);
  long long i = 1, j = 2;
  while (j <= n) {
    a[j] = ask(i, j);
    j++;
  }
  for (long long j = n; j >= 3; j--) {
    ans[j] = a[j] - a[j - 1];
  }
  long long tmp = ask(2, 3);
  ans[1] = a[3] - tmp;
  ans[2] = a[2] - ans[1];
  cout << "!";
  for (long long i = 1; i < n + 1; i++) cout << " " << ans[i];
  cout << endl;
  return 0;
}
