#include using namespace std; typedef long long ll; signed main(){ ios::sync_with_stdio(false); cin.tie(0); cout << fixed << setprecision(20); int n; cin>>n; int a[n]; for(int i=0;i>a[i]; } vector ans; int now = a[0]; stack st; st.push(a[0]); for(int i=1;i