#include <bits/stdc++.h>
using namespace std;
bool flag = 0, flag1 = 0, flag2 = 0;
int main() {
  long long int n, x, y, z;
  cin >> n;
  long long int ans[n + 1];
  cout << "? 1 3"
       << "\n";
  fflush(stdout);
  cin >> x;
  cout << "? 1 2"
       << "\n";
  fflush(stdout);
  cin >> y;
  cout << "? 2 3"
       << "\n";
  fflush(stdout);
  cin >> z;
  ans[1] = x - z;
  ans[3] = x - y;
  ans[2] = x - ans[1] - ans[3];
  for (long long int i = 4; i < n + 1; i++) {
    long long int x;
    cout << "? " << i - 1 << " " << i << "\n";
    fflush(stdout);
    cin >> x;
    ans[i] = x - ans[i - 1];
  }
  cout << "! ";
  for (long long int i = 1; i < n + 1; i++) cout << ans[i] << " ";
  return 0;
}
