Run id: 115035

------Input------
2222211111 2 1
------Answer-----
1111111111
------Your output-----
2222211111