Run id: 116201

------Input------
8 29
------Answer-----
1
------Your output-----
0