Run id: 126634

------Input------
489 326 461 509 449 270 154 967 360 360
------Answer-----
8
------Your output-----
11