#include <bits/stdc++.h>
using namespace std;
int n, x, y, z, i, v[5010], s;
int main() {
  cin >> n;
  cout << "? 1 2\n";
  cin >> x;
  cout << "? 1 3\n";
  cin >> y;
  cout << "? 2 3\n";
  cin >> z;
  s = (x + y + z) >> 1;
  v[1] = s - z;
  v[2] = s - y;
  v[3] = s - x;
  for (i = 4; i <= n; ++i) {
    cout << "? 1 " << i << "\n";
    cin >> x;
    v[i] = x - v[1];
  }
  cout << '!';
  for (i = 1; i <= n; ++i) {
    cout << ' ' << v[i];
  }
  cout << "\n";
  return 0;
}
