#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5;
int res[maxn];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  int n;
  cin >> n;
  for (int i = 1; i < n; ++i) {
    cout << "? 1 " << i + 1 << endl;
    cin >> res[i];
  }
  cout << "? 2 3" << endl;
  int w;
  cin >> w;
  cout << "! ";
  w = (res[1] + res[2] - w) / 2;
  cout << w << ' ';
  for (int i = 1; i < n; ++i) {
    cout << res[i] - w << ' ';
  }
  cout << endl;
  return 0;
}
