Problem G
Puppy Zoomies
Input
The first line contains a single positive integer less than 200 indicating the number of dashes Perky made. Each following line contains a position (in centimeters from 1 through 1000) on the tape measure at which Perky reversed direction. Assume Perky starts at the first listed position the tape.
Output
Print the maximum number of monotonically increasing distances Perky dashed prior to turning around. In Sample 1, Perky’s maximum increasing sequence is at the end with 3 increases of 50, 180, and 320 cm.
![\includegraphics[width=\linewidth ]{Zoomies.jpg}](/problems/puppyzommies/file/statement/en/img-0002.jpg)
| Sample Input 1 | Sample Output 1 |
|---|---|
6 200 50 210 160 340 20 |
3 |
| Sample Input 2 | Sample Output 2 |
|---|---|
1 200 |
0 |
