#include <bits/stdc++.h>
using namespace std;
int const N = 1e3 + 10;
int ans[N];
int main() {
  int n;
  cin >> n;
  int s12, s23, s13;
  printf("? 1 2\n");
  fflush(stdout);
  scanf("%d", &s12);
  printf("? 1 3\n");
  fflush(stdout);
  scanf("%d", &s13);
  printf("? 2 3\n");
  fflush(stdout);
  scanf("%d", &s23);
  ans[3] = s13 - s12;
  ans[2] = s23 - ans[3];
  ans[1] = s12 - ans[2];
  for (int i = 4; i <= n; i++) {
    printf("? %d %d\n", i - 1, i);
    fflush(stdout);
    int t;
    scanf("%d", &t);
    ans[i] = t - ans[i - 1];
  }
  printf("! ");
  for (int i = 1; i <= n; i++) printf(" %d", ans[i]);
  return 0;
}
