#include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) using vi = vector; template bool chmax(T1 &a, const T2 b) {if (a < b) {a = b; return true;} else return false; } template bool chmin(T1 &a, const T2 b) {if (a > b) {a = b; return true;} else return false; } signed main() { int n;cin>>n; int sum = 0; for(int i=1;i<=n;i++)sum+=i; vi p(n); for(int r=n-1;r>0;r--){ cout<<"? 1 "<>s; p[r] = sum-s; sum-=p[r]; } p[0] = sum; cout<<"! "; rep(i,n)cout << p[i] << " \n"[i==n-1]; return 0; }