#include <bits/stdc++.h>
using namespace std;
long long a[6000];
int main() {
  int n, x, y, z, k, T, H, F;
  cin >> n;
  cout << "?"
       << " "
       << "1"
       << " "
       << "2" << endl;
  fflush(stdout);
  cin >> T;
  cout << "?"
       << " "
       << "1"
       << " "
       << "3" << endl;
  fflush(stdout);
  cin >> H;
  cout << "?"
       << " "
       << "2"
       << " "
       << "3" << endl;
  fflush(stdout);
  cin >> F;
  a[1] = ((T - H) + F) / 2;
  a[0] = T - a[1];
  a[2] = H - a[0];
  int i = 4;
  while (i <= n) {
    cout << "?"
         << " "
         << "1"
         << " " << i << endl;
    fflush(stdout);
    cin >> H;
    a[i - 1] = (H - a[0]);
    i++;
  }
  cout << "!"
       << " ";
  for (i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
  return 0;
}
