#include <bits/stdc++.h>
const int N = 5010;
using namespace std;
int ans[N];
int getSum(int i, int j) {
  int sum;
  printf("? %d %d\n", i, j);
  fflush(stdout);
  scanf("%d", &sum);
  return sum;
}
int main() {
  int n;
  scanf("%d", &n);
  int ab, ac, bc;
  ab = getSum(1, 2);
  ac = getSum(1, 3);
  bc = getSum(2, 3);
  int c = (bc - ab + ac) / 2;
  int b = bc - c;
  int a = ac - c;
  ans[1] = a;
  ans[2] = b;
  ans[3] = c;
  for (int i = 3; i < n; i++) {
    ans[i + 1] = getSum(i, i + 1) - ans[i];
  }
  printf("!");
  for (int i = 1; i <= n; i++) {
    printf(" %d", ans[i]);
  }
  putchar('\n');
  fflush(stdout);
  return 0;
}
