Run id: 835

------Input------
10 80 79 78 77 65 55 54 54 50 49
------Answer-----
3
------Your output-----
0