Problems

# Wardrobe

# Wardrobe

The dimensions of the wardrobe are **a × b × c**. Is it possible to carry it through the doorway of the size **x × y**? The wardrobe can be carried through the doorway, if its corresponding dimensions are not greater than the dimensions of the door.

#### Input

Integer numbers **a**, **b**, **c**, **x**, **y** (**1** ≤ **a**, **b**, **c**, **x**, **y** ≤ **100**).

#### Output

Print "**YES**", if its possible to carry the wardrobe, and "**NO**" otherwise.

Input example #1

4 5 6 10 20

Output example #1

YES

Input example #2

4 5 6 10 20

Output example #2

YES

Input example #3

4 5 6 3 4

Output example #3

NO