Before the appearance of Veronica, Igor and Ira chose a stroller for a long time. The stroller should satisfy many parameters: it should be comfortable, warm, stable, and multifunctional. One of the essential criteria is its size when folded.
For transportation during the trip, the stroller must be located in the trunk of the car. The trunk is a rectangle with the size $$$a \times b$$$. The stroller must be transported only folded to not damage it. When folded, the stroller occupies a space of $$$c \times d$$$. Igor wants to find out if a folded stroller will fit in the trunk. Help him - write a program to determine whether it can be done.
A single line contains four integers $$$a$$$, $$$b$$$, $$$c$$$, $$$d$$$ $$$(1\leq a,b,c,d\leq 1000)$$$ — the dimensions of the trunk and the dimensions of the folded stroller.
In a single line print «YES» (without quotes), if the stroller can be placed in the trunk according to the rules, otherwise output «NO» (without quotes).
10 10 4 8
YES
8 11 10 12
NO
14 14 1 15
YES
| Name |
|---|


