#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, j;
  cin >> n;
  vector<int> v(n);
  cout << "? 1 2" << endl;
  int a, b, c;
  cin >> a;
  cout << "? 2 3" << endl;
  cin >> b;
  cout << "? 1 3" << endl;
  cin >> c;
  v[2] = c - a;
  v[1] = b - v[2];
  v[0] = a - v[1];
  for (i = 3; i < n; i++) {
    cout << "? " << i << " " << i + 1 << endl;
    cin >> a;
    v[i] = a - v[i - 1];
  }
  cout << "! ";
  for (auto it : v) cout << it << ' ';
  cout << endl;
  ;
  return 0;
}
