#include <bits/stdc++.h>
using namespace std;
long long expo(long long x, long long y) {
  if (y == 1) return x;
  if (y % 2 == 1)
    return (x * (expo((x * x) % 1000000007, (y - 1) / 2)) % 1000000007) %
           1000000007;
  else
    return (expo((x * x) % 1000000007, y / 2)) % 1000000007;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int t = 1;
  while (t--) {
    long long n, k;
    cin >> n;
    long long a[n], i, p = 0;
    cout << "? 1 " << n << endl;
    fflush(stdout);
    long long sum;
    cin >> sum;
    for (i = 2; i < n; i++) {
      cout << "? " << i << " " << n << endl;
      fflush(stdout);
      long long x;
      cin >> x;
      a[i - 2] = sum - p - x;
      p += a[i - 2];
    }
    cout << "? 1 " << n - 1 << endl;
    fflush(stdout);
    long long x;
    cin >> x;
    a[n - 1] = sum - x;
    p = 0;
    for (i = 0; i < n - 2; i++) p += a[i];
    a[n - 2] = sum - p - a[n - 1];
    cout << "! ";
    for (i = 0; i < n; i++) cout << a[i] << " ";
    cout << endl;
  }
}
