Run id: 90561

------Input------
12 86 23 28
------Answer-----
1
------Your output-----
0