Problem E
Laptop Sticker
Your school has provided you with a laptop computer! However, they insist on putting a laptop sticker with their logo on your new computer. That sticker might be very large, and it can’t be rotated! Will it fit, with one centimeter to spare on all sides?
Input
The single line of input contains four integers
Output
Output a single integer, which is
Sample Input 1 | Sample Output 1 |
---|---|
30 30 27 27 |
1 |
Sample Input 2 | Sample Output 2 |
---|---|
35 30 25 29 |
0 |
Sample Input 3 | Sample Output 3 |
---|---|
30 35 30 35 |
0 |