#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int ar[n];
  cout << "? 2 3" << endl;
  char t;
  int a;
  cin >> a;
  for (int ctr1 = 1; ctr1 < n; ctr1++) {
    cout << "? 1 " << ctr1 + 1 << endl;
    cin >> ar[ctr1];
  }
  int rez[n];
  rez[0] = (ar[1] + ar[2] - a) / 2;
  for (int ctr1 = 1; ctr1 < n; ctr1++) rez[ctr1] = ar[ctr1] - rez[0];
  cout << "! ";
  for (int ctr1 = 0; ctr1 < n; ctr1++) cout << rez[ctr1] << " ";
  cout << endl;
  return 0;
}
