#include <bits/stdc++.h>
using namespace std;
int main() {
  int length;
  cin >> length;
  int sums[length];
  int numbers[length];
  for (int i = 1; i < length; i++) {
    cout << "? "
         << "1 " << i + 1 << endl;
    cin >> sums[i - 1];
  }
  cout << "? 2 3" << endl;
  cin >> sums[length - 1];
  numbers[0] = (sums[0] + sums[1] - sums[length - 1]) / 2;
  for (int j = 1; j < length; j++) {
    numbers[j] = sums[j - 1] - numbers[0];
  }
  cout << "!";
  for (int k = 0; k < length; k++) {
    cout << " " << numbers[k];
  }
  cout << endl;
}
