#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  vector<int> ans;
  int sum, ret, initialSum;
  cout << "? 1 2\n";
  fflush(stdout);
  cin >> sum;
  initialSum = sum;
  int tempSum = 0;
  for (int i = 3; i <= n; ++i) {
    cout << "? 1 " << i << "\n";
    fflush(stdout);
    cin >> ret;
    ans.push_back(ret - sum);
    tempSum += (ret - sum);
    sum = ret;
  }
  cout << "? 2 " << n << "\n";
  fflush(stdout);
  cin >> ret;
  cout << "! " << initialSum - (ret - tempSum) << " ";
  fflush(stdout);
  cout << ret - tempSum << " ";
  fflush(stdout);
  for (auto i : ans) cout << i << " ";
  fflush(stdout);
}
