#include <bits/stdc++.h>
using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
int ask(int i, int j) {
  ++i, ++j;
  cout << "? " << i << " " << j << endl;
  int answer;
  cin >> answer;
  return answer;
}
void solve() {
  int N;
  cin >> N;
  vector<int> a(N);
  int s1 = ask(0, 1);
  int s2 = ask(1, 2);
  int s3 = ask(0, 2);
  a[0] = (s1 + s3 - s2) / 2;
  a[1] = s1 - a[0];
  a[2] = s3 - a[0];
  for (int i = 3; i < N; i++) {
    int s = ask(i - 1, i);
    a[i] = s - a[i - 1];
  }
  cout << "! ";
  for (int i = 0; i < N; i++) {
    cout << a[i] << " ";
  }
  cout << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  solve();
  return 0;
}
