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