#include <bits/stdc++.h>
using namespace std;
void solution() {
  int n;
  cin >> n;
  int outs[n], final_total = 0;
  for (int i = 1; i <= n; i += 3) {
    if (n - i + 1 < 3) {
      break;
    }
    int total;
    cout << "? " << i << " " << i + 2 << endl;
    cin >> total;
    int first;
    cout << "? " << i + 1 << " " << i + 2 << endl;
    cin >> first;
    outs[i - 1] = total - first;
    cout << "? " << i << " " << i + 1 << endl;
    cin >> first;
    outs[i + 1] = total - first;
    outs[i] = total - outs[i - 1] - outs[i + 1];
    final_total += total;
  }
  if (n % 3 == 1) {
    cout << "? " << 1 << " " << n << endl;
    int num;
    cin >> num;
    outs[n - 1] = num - final_total;
  } else if (n % 3 == 2) {
    cout << "? " << 1 << " " << n << endl;
    int num;
    cin >> num;
    cout << "? " << 1 << " " << n - 1 << endl;
    int num1;
    cin >> num1;
    outs[n - 2] = num1 - final_total;
    outs[n - 1] = num - final_total - outs[n - 2];
  }
  cout << "! ";
  for (auto number : outs) {
    cout << number << " ";
  }
  cout << endl;
  return;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int count, counter = 0;
  count = 1;
  while (counter++ < count) {
    solution();
  }
  return 0;
}
