#include <bits/stdc++.h>
using namespace std;
string NumberToString(int Number) {
  ostringstream ss;
  ss << Number;
  return ss.str();
}
int main() {
  int n;
  cin >> n;
  int arr[n + 1];
  int ab, bc, ca;
  cout << "? 1 2" << endl;
  fflush(stdout);
  cin >> ab;
  cout << "? 2 3" << endl;
  fflush(stdout);
  cin >> bc;
  cout << "? 3 1" << endl;
  fflush(stdout);
  cin >> ca;
  arr[1] = (ca - bc + ab) / 2;
  arr[2] = ab - arr[1];
  arr[3] = ca - arr[1];
  int tmp;
  for (int i = 4; i <= n; i++) {
    cout << "? 1 " << i << endl;
    fflush(stdout);
    cin >> tmp;
    arr[i] = tmp - arr[1];
  }
  string res = "! ";
  for (int i = 1; i <= n; i++) {
    res = res + NumberToString(arr[i]);
    res += " ";
  }
  cout << res << endl;
  fflush(stdout);
}
