K. Stroller
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

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.

Input

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.

Output

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).

Examples
Input
10 10 4 8
Output
YES
Input
8 11 10 12
Output
NO
Input
14 14 1 15
Output
YES