B. Yahya's Graduation
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

Basheer missed the graduation notebook ceremony for the Computer Science batch of 2021. Consequently, he didn't have the chance to write a message in Yahya's notebook.To make up for this, Basheer and Yahya have arranged a meeting at a local cafe. However, Yahya has a very strict and detailed schedule. Yahya has provided Basheer with the exact time he plans to leave the cafe.Given Basheer's arrival time $$$T_b$$$ and Yahya's departure time $$$T_y$$$, your task is to determine if Basheer will arrive at the cafe before or exactly at the time Yahya leaves. If Basheer arrives even one minute after Yahya leaves, he will miss his chance.

Input

The first line contains two integers $$$H_b$$$ and $$$M_b$$$ ($$$0 \le H_b \lt 24, 0 \le M_b \lt 60$$$) — the hour and minute of Basheer's arrival.

The second line contains two integers $$$H_y$$$ and $$$M_y$$$ ($$$0 \le H_y \lt 24, 0 \le M_y \lt 60$$$) — the hour and minute of Yahya's departure.

You can assume that Basheer's arrival time and Yahya's departure time are on the same day.

Output

Print "YES" (without quotes) if Basheer arrives at or before Yahya's departure time. Otherwise, print "NO".

Examples
Input
14 30 15 00
Output
YES
Input
10 15 10 10
Output
NO