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