#include <bits/stdc++.h>
using namespace std;
const int MaxN = 1e6 + 17;
long long int n, A, B, C;
long long int a[MaxN];
long long x;
int main() {
  cin >> n;
  fflush(stdout);
  cout << "? " << 1 << ' ' << 2 << "\n";
  fflush(stdout);
  cin >> A;
  fflush(stdout);
  cout << "? " << 2 << ' ' << 3 << "\n";
  fflush(stdout);
  cin >> B;
  fflush(stdout);
  cout << "? " << 1 << ' ' << 3 << "\n";
  fflush(stdout);
  cin >> C;
  fflush(stdout);
  a[2] = A + B - C;
  a[2] /= 2;
  a[1] = A - a[2];
  a[3] = C - a[1];
  for (int i = 4; i <= n; ++i) {
    cout << "? " << i << ' ' << 1 << "\n";
    fflush(stdout);
    cin >> x;
    fflush(stdout);
    a[i] = x - a[1];
  }
  cout << "! ";
  for (int i = 1; i <= n; ++i) cout << a[i] << ' ';
  return 0;
}
