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