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