#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n;
  cin >> n;
  long long int a[n];
  long long int k1, k2, k3;
  cout << "? " << 1 << " " << 2 << "\n";
  fflush(stdout);
  cin >> k1;
  cout << "? " << 2 << " " << 3 << "\n";
  fflush(stdout);
  cin >> k2;
  cout << "? " << 1 << " " << 3 << "\n";
  fflush(stdout);
  cin >> k3;
  long long int x = k1 - k2 + k3;
  x /= 2;
  a[0] = x;
  a[1] = k1 - a[0];
  a[2] = k2 - a[1];
  for (int i = 2; i < n - 1; i++) {
    cout << "? " << i + 1 << " " << i + 2 << "\n";
    fflush(stdout);
    long long int k;
    cin >> k;
    a[i + 1] = k - a[i];
  }
  cout << "! ";
  for (int i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
  cout << "\n";
  fflush(stdout);
  return 0;
}
