#include <bits/stdc++.h>
using namespace std;
long long ans[5007];
int32_t main() {
  ios_base::sync_with_stdio(0);
  long long a, b, c, n, x, y, z;
  cin >> n;
  cout << "? 1 2\n";
  cin >> x;
  cout << "? 2 3\n";
  cin >> y;
  cout << "? 1 3\n";
  cin >> z;
  ans[1] = (x + z - y) / 2;
  ans[2] = (x + y - z) / 2;
  ans[3] = (y + z - x) / 2;
  for (long long i = 3; i < n; i++) {
    cout << "? " << i << " " << i + 1 << "\n";
    cin >> a;
    ans[i + 1] = a - ans[i];
  }
  cout << "!";
  for (long long i = 1; i <= n; i++) {
    cout << " " << ans[i];
  }
  return 0;
}
