#include <bits/stdc++.h>
using namespace std;
int b[100050], c, d, i, j, n, ans;
int b1, b2, b3;
int main() {
  scanf("%d", &n);
  printf("? %d %d\n", 1, 2);
  fflush(stdout);
  scanf("%d", &b1);
  printf("? %d %d\n", 1, 3);
  fflush(stdout);
  scanf("%d", &b2);
  printf("? %d %d\n", 2, 3);
  fflush(stdout);
  scanf("%d", &b3);
  b[3] = (b1 - b2 - b3) / 2;
  b[3] *= -1;
  b[1] = b2 - b[3];
  b[2] = b3 - b[3];
  for (i = 4; i <= n; i++) {
    printf("? %d %d\n", 1, i);
    fflush(stdout);
    scanf("%d", &c);
    b[i] = c - b[1];
  }
  printf("! ");
  for (i = 1; i <= n; i++) {
    printf("%d ", b[i]);
  }
  printf("\n");
  fflush(stdout);
  return 0;
}
