A wardrobe has dimensions a \times b \times c. Is it possible to carry it through a doorway of size x \times y? The wardrobe can pass through the doorway if there exist two of its dimensions such that, after possibly rotating the wardrobe, both are less than or equal to the corresponding dimensions of the doorway.
Integer numbers a, b, c, x, y (1 \le a, b, c, x, y \le 100).
Output YES if it is possible to carry the wardrobe through the doorway; otherwise, output NO.
Example 1
Example 5