Run id: 5916

------Input------
73 74 54 78 60 20 9
------Answer-----
52
------Your output-----
368