#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int n;
  cin >> n;
  vector<int> v;
  int sum1, sum2, sum3;
  cout << "?"
       << " " << 1 << " " << 2 << endl;
  cin >> sum1;
  cout << "?"
       << " " << 2 << " " << 3 << endl;
  cin >> sum2;
  cout << "?"
       << " " << 1 << " " << 3 << endl;
  cin >> sum3;
  v.push_back((sum3 - sum2));
  v.push_back(0);
  v.push_back((sum3 - sum1));
  v[1] = sum3 - v[0] - v[2];
  for (int i = 4; i <= n; i++) {
    cout << "?"
         << " " << i - 1 << " " << i << endl;
    cin >> sum1;
    v.push_back(sum1 - v[i - 2]);
  }
  cout << "! ";
  for (int i = 0; i < n; i++) cout << v[i] << " ";
  cout << endl;
  fflush(stdout);
  return 0;
}
