#include <bits/stdc++.h>
using namespace std;
using LL = long long;
const LL INF = 1e9;
const int N = 3e5 + 10;
const LL MOD = 1e9 + 7;
void ArrayIn(int size, LL a[]) {
  for (int i = 0; i < size; i++) cin >> a[i];
}
void ArrayOut(int size, int a[]) {
  cout << "! ";
  for (int i = 0; i < size; i++) cout << a[i] << " ";
  cout << "\n";
}
int main() {
  int n, i;
  cin >> n;
  cout << "? 1 2\n";
  int a, b, c;
  cin >> b;
  cout << "? 1 3\n";
  cin >> a;
  cout << "? 2 3\n";
  cin >> c;
  int res[n];
  res[0] = a - c;
  res[2] = a - b;
  res[1] = a - res[0] - res[2];
  for (i = 4; i <= n; i++) {
    cout << "? " << i - 1 << " " << i << "\n";
    cin >> a;
    res[i - 1] = a - res[i - 2];
  }
  ArrayOut(n, res);
  return 0;
}
