#include <bits/stdc++.h>
using namespace std;
int query(int i, int j) {
  cout << "? " << i << " " << j << endl;
  int ans;
  cin >> ans;
  return ans;
}
int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(0);
  int n;
  cin >> n;
  int arr[n + 1];
  for (int i = 2; i <= n; i++) {
    arr[i] = query(1, i);
  }
  arr[1] = arr[3] - query(2, 3);
  cout << "! ";
  cout << arr[1] << " ";
  for (int i = 2; i <= n; i++) cout << arr[i] - arr[i - 1] << " ";
}
