#include <bits/stdc++.h>
#pragma GCC diagnostic ignored "-Wunused-value"
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int n;
  cin >> n;
  long long int arr[5000];
  long long int ab, bc, ac;
  cout << "? 1 2" << endl << "? 2 3" << endl << "? 1 3" << endl;
  cin >> ab >> bc >> ac;
  long long int abc = (ab + bc + ac) / 2;
  arr[0] = abc - bc;
  arr[1] = abc - ac;
  arr[2] = abc - ab;
  for (long long int i = 4; i <= n; ++i) {
    long long int x;
    cout << "? 1 " << i << endl;
    cin >> x;
    arr[i - 1] = x - arr[0];
  }
  cout << "!";
  for (long long int i = 0; i < n; ++i) {
    cout << ' ' << arr[i];
  }
  cout << endl;
  return 0;
}
