#include <bits/stdc++.h>
using namespace std;
const long long M = 1e9 + 7;
const long long inf = 1e18;
const int si = 1e5 + 9;
const int N = 1e5 + 5;
int n, p;
int x, y, z;
int ans[5005];
int main() {
  cin >> n;
  cout << "? " << 1 << ' ' << 2 << endl;
  cout.flush();
  cin >> x;
  cout << "? " << 2 << ' ' << 3 << endl;
  cout.flush();
  cin >> y;
  cout << "? " << 1 << ' ' << 3 << endl;
  cout.flush();
  cin >> z;
  ans[2] = (x + y - z) / 2;
  ans[1] = x - ans[2];
  ans[3] = z - ans[1];
  for (int i = 4; i <= n; i++) {
    cout << "? " << i - 1 << ' ' << i << endl;
    cout.flush();
    cin >> x;
    p = ans[i - 1];
    ans[i] = x - p;
  }
  cout << "! ";
  for (int i = 1; i <= n; i++) {
    cout << ans[i] << ' ';
  }
  return 0;
  ;
}
