#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const long long inf = INT64_MAX;
long long query(long long l, long long r) {
  cout << "? " << l << " " << r << endl;
  long long sum;
  cin >> sum;
  return sum;
}
void solve() {
  long long n;
  cin >> n;
  vector<long long> v(n - 1);
  for (long long i = 0; i < n - 1; i++) {
    v[i] = query(i + 1, i + 2);
  }
  long long first_three = query(1, 3);
  long long cur = first_three - v[1];
  cout << "! ";
  cout << cur << " ";
  for (long long i = 0; i < n - 1; i++) {
    cur = v[i] - cur;
    cout << cur << " ";
  }
  cout << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  solve();
  return 0;
}
