#include <bits/stdc++.h>
using namespace std;
const long long int no = 3e6 + 5, modulo = 1e9 + 7, inf = 1e18, N = 3e3 + 1;
long long int ar[no], br[no], cr[no];
void solve() {
  long long int n = 0, m = 0, a = 0, b = 0, c = 0, d = 0, x = 0, y = 0, z = 0,
                w = 0, k = 0;
  cin >> n;
  for (long long int i = 1; i < 3; i++) {
    cout << "? " << i << " " << i + 1 << "\n";
    cout << flush;
    cin >> ar[i];
    x += ar[i];
  }
  cout << "? 1 3"
       << "\n";
  cout << flush;
  cin >> ar[3];
  x += ar[3];
  x /= 2;
  br[3] = x - ar[1];
  br[1] = ar[3] - br[3];
  br[2] = ar[2] - br[3];
  for (long long int i = 4; i < n + 1; i++) {
    cout << "? 1 " << i << "\n";
    cout << flush;
    cin >> x;
    br[i] = x - br[1];
  }
  cout << "! ";
  for (long long int i = 1; i < n + 1; i++) cout << br[i] << " ";
}
inline void runn() {
  freopen("input.txt", "r", stdin);
  freopen("output.txt", "w", stdout);
}
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  long long int t = 1;
  for (long long int i = 1; i < t + 1; i++) {
    solve();
  }
}
