URI Online Judge | 2167
# Engine Failure

**Timelimit: 1**

By M.C. Pinto, UNILA Brazil

Engineer Joe realizes that always happened a speed fall when the measures of an engine speed slope were made at 10 ms time interval. But this fall happened at varying points at each new engine test.

Joe got curious with that lack of pattern and wants to know, for each engine test, what is the first point in which this speed fall happens.

The input is an engine test and is given in two lines. The first one has the number **N** of speed measures (1 < **N** ≤ 100). The second line has **N** integers: the engine RPM (revolutions per minute) **R _{i}** of each measure (0 ≤

The output is the measure index where the first speed fall happened in the test. If no speed fall happens the output must be the number zero.

Input Samples | Output Samples |

3 |
3 |

5 |
4 |

4 |
0 |