Run id: 1102

------Input------
16 2711
------Answer-----
10001
------Your output-----
1 1 16 1 1792 7 8192 2 10001