#include using namespace std; int main() { int N; cin >> N; int sum = (1+N)*N/2; vectorans(N); for(int i = 0; i < N-1; i++) { cout << "? " << i+2 << " " << N << endl; int a; cin >> a; ans[i] = sum-a; sum = a; } ans[N-1] = sum; cout << "! "; for(int i = 0; i < N; i++) { cout << ans[i]; if(i+1 != N) { cout << " "; } } cout << endl; } /* 4 3 1 2 */