#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n;
  cin >> n;
  vector<long long int> ans(n);
  long long int a, b, c;
  cout << "? 1 2\n";
  cout.flush();
  cin >> a;
  cout << "? 2 3\n";
  cout.flush();
  cin >> b;
  cout << "? 1 3\n";
  cout.flush();
  cin >> c;
  ans[0] = c - b;
  ans[2] = c - a;
  ans[1] = a - ans[0];
  for (long long int i = 0; i < n - 3; i++) {
    cout << "? " << i + 3 << " " << i + 4 << "\n";
    cout.flush();
    long long int x;
    cin >> x;
    ans[i + 3] = x - ans[i + 2];
  }
  cout << "! ";
  for (long long int i = 0; i < n; i++) cout << ans[i] << " ";
  cout.flush();
}
