#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, sum12, sum123, sum23, x, x1, x2, x3;
  vector<int> vec;
  cin >> n;
  cout << "? 1 2" << endl;
  cin >> sum12;
  cout << "? 1 3" << endl;
  cin >> sum123;
  cout << "? 2 3" << endl;
  cin >> sum23;
  x1 = sum123 - sum23;
  x2 = sum12 - x1;
  x3 = sum123 - sum12;
  vec.push_back(x1);
  vec.push_back(x2);
  vec.push_back(x3);
  int temp = sum123;
  for (int i = 4; i <= n; i++) {
    cout << "? " << 1 << " " << i << endl;
    cin >> x;
    vec.push_back(x - temp);
    temp = x;
  }
  cout << "!";
  for (int i = 0; i < n; i++) cout << " " << vec[i];
  cout << endl;
  return 0;
}
