#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int arr[n];
  int wa7djouj;
  cout << "? 1 2" << endl;
  fflush(stdout);
  cin >> wa7djouj;
  int wa7dtlata;
  cout << "? 1 3" << endl;
  fflush(stdout);
  cin >> wa7dtlata;
  int joujtlata;
  cout << "? 2 3" << endl;
  fflush(stdout);
  cin >> joujtlata;
  int one = (wa7djouj + wa7dtlata - joujtlata) / 2;
  arr[0] = one;
  arr[1] = wa7djouj - one;
  arr[2] = wa7dtlata - one;
  for (int i = 4; i <= n; i++) {
    cout << "? 1 " << i << endl;
    fflush(stdout);
    int k;
    cin >> k;
    arr[i - 1] = k - one;
  }
  cout << "! ";
  for (int i = 0; i < n; i++) cout << arr[i] << ' ';
  return 0;
}
