#include <bits/stdc++.h>
using namespace std;
void input() {
  int n;
  cin >> n;
  vector<int> v;
  int i = 1;
  int k = n - 1;
  while (k--) {
    cout << "? " << i << " " << i + 1 << "\n";
    fflush(stdout);
    int x;
    cin >> x;
    v.push_back(x);
    i++;
  }
  cout << "? " << 1 << " " << 3 << "\n";
  fflush(stdout);
  int x;
  cin >> x;
  int a[n + 1];
  a[1] = x - v[1];
  for (int i = 2; i <= n; i++) {
    a[i] = v[i - 2] - a[i - 1];
  }
  cout << "! ";
  for (int i = 1; i <= n; i++) {
    cout << a[i] << " ";
  }
  cout << "\n";
}
int main() {
  input();
  return 0;
}
