#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> ans(n);
  cout << "? 1 2" << endl;
  fflush(stdout);
  int a1a2;
  cin >> a1a2;
  cout << "? 1 3" << endl;
  fflush(stdout);
  int a1a3;
  cin >> a1a3;
  int a2a3;
  cout << "? 2 3" << endl;
  fflush(stdout);
  cin >> a2a3;
  int a1a2a3 = (a1a2 + a1a3 + a2a3) / 2;
  ans[0] = a1a2a3 - a2a3;
  ans[1] = a1a2a3 - a1a3;
  ans[2] = a1a2a3 - a1a2;
  for (int i = 3; i < n; i++) {
    string a = "? 1 ";
    string b = to_string(i + 1);
    a += b;
    cout << a << endl;
    fflush(stdout);
    int a1ai;
    cin >> a1ai;
    ans[i] = a1ai - ans[0];
  }
  string a = "! ";
  for (int i = 0; i < n; i++) {
    string b = to_string(ans[i]);
    a = a + b + " ";
  }
  cout << a << endl;
  fflush(stdout);
  return 0;
}
