#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  int n;
  cin >> n;
  vector<long long> a(n);
  for (int i = 1; i < n; ++i) {
    cout << "? " << 1 << ' ' << i + 1 << endl;
    cin >> a[i];
  }
  cout << "? 2 3" << endl;
  long long fs;
  cin >> fs;
  cout << "! ";
  long long one = (a[1] + a[2] - fs) / 2;
  cout << one << ' ';
  for (int i = 1; i < n; ++i) {
    cout << a[i] - one << ' ';
  }
  cout << endl;
  return 0;
}
