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