#include <bits/stdc++.h>
using namespace std;
int ar[500005];
int main() {
  int n, a, b, c;
  cin >> n;
  cout << "? 1 2" << endl;
  cin >> a;
  cout << "? 2 3" << endl;
  cin >> b;
  cout << "? 1 3" << endl;
  cin >> c;
  int e = a, f = b, g = c;
  ar[2] = (e + f - g) / 2;
  ar[1] = e - ar[2];
  ar[3] = f - ar[2];
  for (int i = 4; i <= n; i++) {
    cout << "? " << i - 1 << " " << i << endl;
    cin >> a;
    int df;
    df = a - ar[i - 1];
    ar[i] = df;
  }
  cout << "! ";
  for (int i = 1; i <= n; i++) {
    cout << ar[i] << " ";
  }
  cout << endl;
}
