Олимпиадный тренинг

Задача 33632. Prisoner of the Chateau d'If


During many years of confinement, a prisoner of If Castle made a rectangular hole in the wall measuring D×E. Chateau d'If is made of bricks, A×B×C. Determine if the prisoner will be able to throw bricks into the sea through this hole, if the sides of the brick should be parallel to the sides of the hole.

Input
The program receives numbers A, B, C, D, E as input.

Imprint
The program should output the word YES or NO.

Examples
# Input Output
1 1
1
1
1
1
YES
2 2
2
2
1
1
NO