#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int no1, no2, no3;
  cout << "? 1 2\n";
  fflush(stdout);
  cin >> no1;
  cout << "? 2 3\n";
  fflush(stdout);
  cin >> no2;
  cout << "? 1 3\n";
  fflush(stdout);
  cin >> no3;
  int arr[n];
  arr[0] = no3 - no2;
  arr[2] = no3 - no1;
  arr[1] = no3 - (arr[0] + arr[2]);
  int q = 3;
  while (++q <= n) {
    cout << "? 1 " << q << "\n";
    fflush(stdout);
    cin >> no2;
    arr[q - 1] = no2 - no3;
    no3 = no3 + arr[q - 1];
  }
  cout << "! ";
  for (int i = 0; i < n; i++) cout << arr[i] << " ";
}
