Run id: 119228

------Input------
3 1 2 1
------Answer-----
2 1 2
------Your output-----
2 2