#include <bits/stdc++.h>
using namespace std;
const int MaxN = 10050;
int N, a[MaxN], A[MaxN];
int main() {
  scanf("%d", &N);
  for (int i = 2; i <= N; i++) {
    cout << "? 1 " << i << endl;
    fflush(stdout);
    scanf("%d", &a[i]);
  }
  cout << "? 2 3" << endl;
  scanf("%d", &a[1]);
  fflush(stdout);
  A[1] = (a[2] + a[3] - a[1]) / 2;
  for (int i = 2; i <= N; i++) A[i] = a[i] - A[1];
  cout << "!";
  fflush(stdout);
  for (int i = 1; i <= N; i++) cout << " " << A[i];
  fflush(stdout);
  return 0;
}
