#include <bits/stdc++.h>
using namespace std;
vector<int> ans;
int n;
int sum12, sum13, sum23;
int main() {
  cin.tie(NULL);
  cin >> n;
  ans.clear();
  ans.resize(n);
  cout << "? 1 2\n";
  cout.flush();
  cin >> sum12;
  cout << "? 2 3\n";
  cout.flush();
  cin >> sum23;
  cout << "? 1 3\n";
  cout.flush();
  cin >> sum13;
  ans[1 - 1] = (sum12 + sum13 - sum23) / 2;
  ans[2 - 1] = (sum12 + sum23 - sum13) / 2;
  ans[3 - 1] = (sum13 + sum23 - sum12) / 2;
  for (int i = 3; i < n; i++) {
    cout << "? 1 " << i + 1 << '\n';
    cout.flush();
    cin >> sum12;
    ans[i] = sum12 - ans[0];
  }
  cout << "! ";
  for (int i = 0; i < n; i++) {
    cout << ans[i] << ' ';
  }
  cout.flush();
  return 0;
}
