Run id: 3047

------Input------
2 3 1 2 3 4 5 6 7 8 9
------Answer-----
2 3 1 5 6 4 8 9 7
------Your output-----
2 3 1 5 6 4 8 endl9 endl7 endl