Run id: 124244

------Input------
6 1 6 11 16
------Answer-----
26
------Your output-----
1 0 0 0 0 0