#include <bits/stdc++.h>
using namespace std;
int arr[5003];
int main() {
  int n, a, b, c;
  cin >> n;
  cout << "? 1 2" << endl;
  fflush(stdout);
  cin >> a;
  cout << "? 1 3" << endl;
  fflush(stdout);
  cin >> b;
  cout << "? 2 3" << endl;
  fflush(stdout);
  cin >> c;
  arr[1] = (a + c - b) / 2;
  arr[0] = a - arr[1];
  arr[2] = b - arr[0];
  for (int i = 3; i < n; i++) {
    cout << "? 1 " << i + 1 << endl;
    fflush(stdout);
    cin >> arr[i];
    arr[i] -= arr[0];
  }
  cout << "! ";
  for (int i = 0; i < n; i++) cout << arr[i] << " ";
  return 0;
}
