#include using namespace std; using ll = long long; using P = pair; #define fix(x) fixed << setprecision(x) #define asc(x) x, vector, greater #define rep(i, n) for(ll i = 0; i < n; i++) #define all(x) (x).begin(),(x).end() templatebool chmin(T&a, const T&b){if(a>b){a=b;return 1;}return 0;} templatebool chmax(T&a, const T&b){if(a> n; vector a(n); a[0] = 0; rep(i,n-2){ cout << "? " << 1 << " " << i+2 << endl; cin >> res; a[i+1] = res - a[i]; } a[n-1] = n*(n+1)/2 - res; cout << "? " << 2 << " " << n << endl; cin >> res; a[0] = n*(n+1)/2 - res; a[1] -= a[0]; cout << "! "; rep(i,n) cout << a[i] << " "; cout << endl; return 0; }