#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int n, arr[100001];
int main() {
  scanf("%d", &n);
  int a, b, c;
  printf("? 1 2\n");
  fflush(stdout);
  scanf("%d", &a);
  printf("? 1 3\n");
  fflush(stdout);
  scanf("%d", &b);
  printf("? 2 3\n");
  fflush(stdout);
  scanf("%d", &c);
  arr[2] = (c + b - a) / 2;
  arr[1] = c - (arr[2]);
  arr[0] = a - arr[1];
  for (int i = 4; i <= n; ++i) {
    printf("? 1 %d\n", i);
    fflush(stdout);
    scanf("%d", &a);
    arr[i - 1] = a - arr[0];
  }
  printf("!");
  for (int i = 0; i < n; ++i) {
    printf(" %d", arr[i]);
  }
  puts("");
  fflush(stdout);
  return 0;
}
