Run id: 97148

------Input------
7 4 17 2 4 1 7 4 4
------Answer-----
5
------Your output-----
4