Run id: 118525

------Input------
5 52
------Answer-----
9000
------Your output-----
12000