#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int x = 0, f = 1;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = (x << 3) + (x << 1) + ch - '0';
    ch = getchar();
  }
  return x * f;
}
const int Maxn = 5000;
int n, a[Maxn], to3;
int f[Maxn];
int main() {
  n = read();
  for (int i = 1; i < n; i++) {
    printf("? %d %d\n", i, i + 1);
    fflush(stdout);
    a[i] = read();
  }
  printf("? 1 3 \n");
  fflush(stdout);
  to3 = read();
  f[2] = a[1] + a[2] - to3;
  f[1] = a[1] - f[2];
  f[3] = a[2] - f[2];
  for (int i = 3; i < n; i++) f[i + 1] = a[i] - f[i];
  printf("!");
  for (int i = 1; i <= n; i++) printf(" %d", f[i]);
  fflush(stdout);
  return 0;
}
