#include <bits/stdc++.h>
using namespace std;
int ask(int i, int j) {
  ++i;
  ++j;
  cout << "? " << i << ' ' << j << endl;
  int ans;
  cin >> ans;
  return ans;
}
int main() {
  int n;
  cin >> n;
  vector<int> res(n);
  int s1 = ask(0, 1);
  int s2 = ask(0, 2);
  int s3 = ask(1, 2);
  res[1] = (s1 - s2 + s3) / 2;
  res[0] = s2 - s3 + res[1];
  res[2] = s2 - res[0];
  for (int i = 3; i < n; ++i) {
    int s = ask(0, i);
    res[i] = s - res[0];
  }
  cout << "! ";
  for (const auto x : res) cout << x << ' ';
  cout << endl;
  return 0;
}
