#include <bits/stdc++.h>
using namespace std;
const int N = 200005;
int sol[5005];
int main() {
  int n;
  cin >> n;
  int a, b, c;
  cout << "? 1 2\n";
  fflush(stdout);
  cin >> a;
  cout << "? 1 3\n";
  cin >> b;
  cout << "? 2 3\n";
  cin >> c;
  int sum = b - c;
  int delta = (a + sum) / 2;
  sol[1] = delta;
  sol[2] = a - delta;
  sol[3] = b - delta;
  for (int i = 4; i <= n; i++) {
    cout << "? 1 " << i << endl;
    fflush(stdout);
    cin >> sum;
    sol[i] = sum - sol[1];
  }
  cout << "!";
  for (int i = 1; i < n + 1; i++) cout << ' ' << sol[i];
  fflush(stdout);
  return 0;
}
