#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e4 + 100;
const long long inf = 0x3f3f3f3f3f;
int n;
int a[maxn];
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    if (i != n) {
      int q;
      cout << "?"
           << " 1"
           << " " << i + 1 << endl;
      cin >> q;
      a[i + 1] = q;
    } else {
      int q;
      cout << "?"
           << " "
           << "2"
           << " " << 3 << endl;
      cin >> q;
      a[1] = (a[2] + a[3] - q) / 2;
    }
  }
  cout << "! ";
  for (int i = 1; i <= n; i++) {
    if (i == 1)
      cout << a[1] << " ";
    else
      cout << a[i] - a[1] << " ";
  }
}
