Run id: 97341

------Input------
181 205 471 782 1033 1058 1111
------Answer-----
7
------Your output-----
6