#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
int q[N], a[N];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i < n; ++i) {
    cout << "? " << i << ' ' << i + 1 << endl;
    cin >> q[i];
  }
  cout << "? 1 3" << endl;
  int t;
  cin >> t;
  a[1] = t - q[2];
  for (int i = 1; i < n; ++i) a[i + 1] = q[i] - a[i];
  cout << "!";
  for (int i = 1; i <= n; ++i) cout << " " << a[i];
  return 0;
}
