#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, i, x;
  cin >> n;
  x = 1;
  vector<long long> v(n + 1), v1(n + 1);
  for (i = 1; i < n; i++) {
    cout << "? " << x << " " << i + 1 << endl;
    fflush(stdout);
    cin >> v[i];
  }
  cout << "? " << n - 1 << " " << n << endl;
  fflush(stdout);
  cin >> v[n];
  v1[n - 1] = (v[n - 2] - v[n - 1] + v[n]) / 2;
  v1[n] = v[n] - v1[n - 1];
  v1[1] = v[n - 1] - v1[n];
  for (i = 1; i < n - 2; i++) v1[i + 1] = v[i] - v1[1];
  cout << "! ";
  for (i = 1; i <= n; i++) cout << v1[i] << " ";
  return 0;
}
