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