#include <bits/stdc++.h>
using namespace std;
int s[5005], a[5005], sum23;
int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  for (int i = 2; i <= n; ++i) {
    cout << flush << "? " << 1 << ' ' << i << '\n';
    cin >> s[i];
  }
  cout << flush << "? 2 3\n";
  cin >> sum23;
  a[1] = (sum23 + s[2] + s[3]) / 2 - sum23;
  for (int i = 2; i <= n; ++i) a[i] = s[i] - a[1];
  cout << flush << "! ";
  for (int i = 1; i <= n; ++i) cout << flush << a[i] << ' ';
}
