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