eolymp
bolt
Try our new interface for solving problems
Problems

Wardrobe

Wardrobe

Time limit 1 second
Memory limit 128 MiB

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

Input data

Integer numbers a, b, c, x, y~(1 \le a, b, c, x, y \le 100).

Output data

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

Examples

Input example #1
4 5 6 10 20
Output example #1
YES
Input example #5
6 5 4 4 5
Output example #5
YES