#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  long long int n, a1, a2, a3, res, res1;
  cin >> n;
  vector<long long int> v;
  for (long long int i = 0; i < n; i++) {
    if (i == 0) {
      cout << "?"
           << " " << 1 << " " << 2 << endl;
      long long int ans;
      cin >> ans;
      res = ans;
    } else if (i == 1) {
      cout << "?"
           << " " << 1 << " " << 3 << endl;
      long long int ans1;
      cin >> ans1;
      res1 = ans1;
    } else if (i == 2) {
      cout << "?"
           << " " << 2 << " " << 3 << endl;
      long long int ans2;
      cin >> ans2;
      long long int k = res1 - res;
      long long int k1 = k + ans2;
      a3 = k1 / 2;
      a2 = ans2 - a3;
      a1 = res1 - a3;
      v.push_back(a1);
      v.push_back(a2);
      v.push_back(a3);
    } else {
      cout << "?"
           << " " << i << " " << i + 1 << endl;
      long long int p1;
      cin >> p1;
      long long int p2 = p1 - v[v.size() - 1];
      v.push_back(p2);
    }
  }
  cout << "!"
       << " ";
  for (long long int j = 0; j < n; j++) cout << v[j] << " ";
  cout << endl;
  return 0;
}
