#include <bits/stdc++.h>
using namespace std;
const int N = 5e3 + 10;
int a[N], x, y, z;
int n;
int main(int argc, char *argv[]) {
  ios::sync_with_stdio(false);
  cin >> n;
  cout << "? 1 2\n";
  fflush(stdout);
  cin >> x;
  cout << "? 2 3\n";
  fflush(stdout);
  cin >> y;
  cout << "? 1 3\n";
  fflush(stdout);
  cin >> z;
  a[1] = (x + y + z) / 2 - y;
  a[2] = (x + y + z) / 2 - z;
  a[3] = (x + y + z) / 2 - x;
  for (int i = 3; i <= n - 1; i++) {
    cout << "? " << i << " " << i + 1 << "\n";
    fflush(stdout);
    cin >> x;
    a[i + 1] = x - a[i];
  }
  cout << "! ";
  for (int i = 1; i <= n; i++) cout << a[i] << " ";
  return 0;
}
