Run id: 2939

------Input------
810 190 118 228 923 355 261 298 399 399
------Answer-----
5
------Your output-----
6