#include <bits/stdc++.h>
using namespace std;
long long sum(long long l, long long r) {
  cout << "? " << l + 1 << " " << r + 1 << endl;
  fflush(stdout);
  long long ans;
  cin >> ans;
  return ans;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long n;
  cin >> n;
  vector<long long> a(n);
  long long sm = sum(0, n - 1);
  a[0] = sm - sum(1, n - 1);
  a[n - 1] = sm - sum(0, n - 2);
  long long osm = a[0] + a[n - 1];
  for (int i = 1; i < n - 2; ++i) {
    a[i] = sum(i - 1, i) - a[i - 1];
    osm += a[i];
  }
  a[n - 2] = sm - osm;
  cout << "! ";
  for (auto &i : a) cout << i << " ";
  cout << endl;
  fflush(stdout);
  cerr << "Time : " << 1000 * (long double)clock() / (long double)CLOCKS_PER_SEC
       << "ms\n";
  return 0;
}
