#include <bits/stdc++.h>
using namespace std;
inline int Max(int a, int b) { return (((b - a) >> (32 - 1)) & (a ^ b)) ^ b; }
inline int Min(int a, int b) { return (((b - a) >> (32 - 1)) & (a ^ b)) ^ a; }
int x[100005];
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  while (cin >> n) {
    int a, b, c;
    cout << "? 1 2" << endl;
    fflush(stdout);
    cin >> a;
    cout << "? 1 3" << endl;
    fflush(stdout);
    cin >> b;
    cout << "? 2 3" << endl;
    fflush(stdout);
    cin >> c;
    x[1] = (a + b - c) / 2;
    x[2] = a - x[1];
    x[3] = b - x[1];
    for (int i = (4); i <= (n); i++) {
      cout << "? 1 " << i << endl;
      fflush(stdout);
      cin >> a;
      x[i] = a - x[1];
    }
    cout << "! ";
    for (int i = (1); i <= (n); i++) cout << x[i] << " ";
    cout << endl;
  }
  return 0;
}
