Run id: 117827

------Input------
5862 2671
------Answer-----
5862
------Your output-----
0