- Time limit: 1.00 s
- Memory limit: 512 MB
There are mountains in a row, each with a specific height. You begin your hang gliding route from some mountain.
You can glide from mountain to mountain if mountain is taller than mountain and all mountains between and .
What is the maximum number of mountains you can visit on your route?
Input
The first line has an integer : the number of mountains.
The next line has integers : the heights of the mountains.
Output:
Print one integer: the maximum number of mountains.
Constraints
Example
Input:
10 20 15 17 35 25 40 12 19 13 12
Output:
5