#include #include #include #include #include #include #include #include #include #include using ll = long long; using namespace std; int main() { ll n, all; cin >> n; vector a(n); cout << "? 1 " << n << "\n"; cin >> all; for (int i = 2; i <= n; i++){ ll tmp; cout << "? " << i << " " << n << "\n"; cin >> tmp; a[i-2] = all - tmp; all = tmp; } a[n-1] = all; string delim = ""; for (auto x : a){ cout << delim << x; delim = " "; } cout << endl; }