#include <bits/stdc++.h>
using namespace std;
vector<int> sum, arr;
int main() {
  int n, num = 4, in;
  cin >> n;
  cout << "? 1 2\n";
  cin >> in;
  sum.push_back(in);
  cout << "? 1 3\n";
  cin >> in;
  sum.push_back(in);
  cout << "? 2 3\n";
  cin >> in;
  arr.push_back((sum[0] + sum[1] - in) / 2);
  arr.push_back((sum[0] + in - sum[1]) / 2);
  arr.push_back((sum[1] + in - sum[0]) / 2);
  while (num <= n) {
    cout << "? 1 " << num << endl;
    cin >> in;
    sum.push_back(in);
    num++;
  }
  for (int i = 2; i < n - 1; i++) arr.push_back(sum[i] - arr[0]);
  cout << "!";
  for (int i = 0; i < arr.size(); i++) cout << " " << arr[i];
  cout << endl;
  return 0;
}
