#include <bits/stdc++.h>
using namespace std;
const long long N = 3e5 + 5, SEG = 1 << 18;
int main() {
  int n;
  cin >> n;
  long long arr[n];
  long long ans[n];
  cout << "? " << 1 << " " << 2 << endl << flush;
  cin >> ans[0];
  cout << "? " << 2 << " " << 3 << endl << flush;
  cin >> ans[1];
  cout << "? " << 1 << " " << 3 << endl << flush;
  cin >> ans[2];
  long long b = (ans[0] + ans[1]) - ans[2];
  arr[1] = b;
  arr[0] = ans[0] - b;
  arr[2] = ans[1] - b;
  for (int i = 3; i < n; i++) {
    cout << "? " << i << " " << i + 1 << endl << flush;
    cin >> b;
    arr[i] = b - arr[i - 1];
  }
  cout << "! " << flush;
  for (int i = 0; i < n; i++) {
    cout << arr[i] << " " << flush;
  }
  cout << endl;
  return 0;
}
