#include #include using namespace std; int n; int main() { cin>>n; int a[100000+10]; cin>>a[0]; int ans=0; for(int i=1;i>a[i]; if(a[i]