#include <bits/stdc++.h>
using namespace std;
vector<int> vec;
int ask(int i, int j) {
  cout << "? " << i << " " << j << "\n";
  fflush(stdout);
  int t;
  cin >> t;
  return t;
}
void answer(int n) {
  cout << "! ";
  fflush(stdout);
  for (int i = 1; i <= n; i++) {
    cout << vec[i] << " ";
    fflush(stdout);
  }
}
int main() {
  int n;
  cin >> n;
  vec.resize(n + 1);
  vec[n] = ask(1, n);
  vec[1] = vec[n] - ask(2, n);
  for (int i = 2; i < n; i++) {
    vec[i] = abs(ask(i - 1, i) - vec[i - 1]);
  }
  for (int i = 1; i < n; i++) {
    vec[n] -= vec[i];
  }
  answer(n);
  return 0;
}
