#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[1001], x, y, z;
  cin >> n;
  cout << "? 1 2\n";
  cin >> x;
  cout << "? 1 3\n";
  cin >> y;
  cout << "? 2 3\n";
  cin >> z;
  a[0] = y - z;
  a[2] = y - x;
  a[1] = x - a[0];
  for (int i = 3; i < n; i++) {
    cout << "? " << i << " " << i + 1 << "\n";
    cin >> x;
    a[i] = x - a[i - 1];
  }
  cout << "! ";
  for (int i = 0; i < n; i++) cout << a[i] << " ";
  return 0;
}
