#include using namespace std; using ll = long long; int main () { int N; cin >> N; vector sum(N + 1); sum[N] = ((ll)N * (N + 1)) / 2; cout << "? " << 2 << " " << N << endl; sum[0] = 0; cin >> sum[1]; sum[1] = sum[N - 1] - sum[1]; for (int i = 1; i < N - 1; i ++) { cout << "? " << 1 << " " << i + 1 << endl; cin >> sum[i + 1]; } cout << "! "; for (int i = 0; i < N; i ++) { cout << sum[i + 1] - sum[i] << (i < N - 1 ? " " : ""); } cout << endl; }