#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, sum1 = 0, sum2 = 0, sum3 = 0;
  cin >> n;
  int a[n + 10];
  cout << "? " << 1 << " " << 2 << "\n";
  cin >> sum1;
  cout << "? " << 1 << " " << 3 << "\n";
  cin >> sum2;
  cout << "? " << 2 << " " << 3 << "\n";
  cin >> sum3;
  a[1] = (sum1 + sum2 - sum3) / 2;
  a[2] = sum1 - a[1];
  a[3] = sum2 - a[1];
  for (int i = 4; i <= n; i++) {
    int c;
    cout << "? " << 1 << " " << i << "\n";
    cin >> c;
    a[i] = c - a[1];
  }
  cout << "!"
       << " ";
  for (int i = 1; i <= n; i++) cout << a[i] << " ";
}
