#include
using namespace std;
int main() {
int t;
cin>>t;
long long int a,b;
cin>>a;
while(t>1)
{
cin>>b;
if(b>a)
{
a=b;
t=t-1;
break;
}
t=t-1;
a=b;
}
while(t>1)
{
cin>>b;
if(b<a)
{
cout<<“false”;
return 0;
}
a=b;
t=t-1;
}
if(t==1){
cout<<"true";
}
return 0;
}
this program is failing test case 5
please help;