Run id: 2155

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