#include <bits/stdc++.h>
using namespace std;
int s[5001];
int main() {
  int n, a, b, c;
  cin >> n;
  cout << "? 1 2" << endl;
  fflush(stdout);
  cin >> a;
  cout << "? 2 3" << endl;
  fflush(stdout);
  cin >> b;
  cout << "? 1 3" << endl;
  fflush(stdout);
  cin >> c;
  int ss = (a + b + c) / 2;
  s[1] = ss - b;
  s[2] = ss - c;
  s[3] = ss - a;
  int tt;
  for (int i = 4; i <= n; i++) {
    cout << "? 3 " << i << endl;
    fflush(stdout);
    cin >> tt;
    s[i] = tt - s[3];
  }
  cout << "! ";
  for (int i = 1; i <= n; i++) cout << s[i] << " ";
  return 0;
}
