#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  vector<int> vec(n, 0), ans;
  int val;
  for (int i = 1; i < n; i++) {
    cout << "? " << i << " " << i + 1 << "\n";
    cin >> val;
    ans.push_back(val);
    fflush(stdin);
  }
  cout << "? "
       << "1 3"
       << "\n";
  cin >> val;
  int sum = 0;
  sum = val + ans[0] + ans[1];
  sum /= 2;
  vec[1] = abs(sum - (ans[0] + ans[1]));
  vec[0] = (ans[0] - vec[1]);
  for (int i = 2; i < n; i++) {
    vec[i] = (ans[i - 1] - vec[i - 1]);
  }
  cout << "! ";
  for (int i = 0; i < n; i++) cout << vec[i] << " ";
  cout << "\n";
  return 0;
}
