#include <bits/stdc++.h>
using namespace std;
long long MAXN = 9223372036854775807, mod = 998244353;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long T = 1;
  for (long long t = 0; t < T; t++) {
    long long n;
    cin >> n;
    vector<long long> sum;
    for (long long i = 1; i < n; i++) {
      cout << "? " << i << " " << i + 1 << endl;
      long long a;
      cin >> a;
      sum.push_back(a);
    }
    cout << "? " << 1 << " " << 3 << endl;
    long long a;
    cin >> a;
    long long ans[n];
    ans[0] = (a - (sum[1] - sum[0])) / 2;
    for (long long i = 1; i < n; i++) {
      ans[i] = sum[i - 1] - ans[i - 1];
    }
    cout << "! ";
    for (long long i = 0; i < n; i++) cout << ans[i] << " ";
  }
  return 0;
}
