Problem10946--ABC367 - A - Shout Everyday

10946: ABC367 - A - Shout Everyday

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

In the Kingdom of AtCoder, residents are required to shout their love for takoyaki at $A$ o'clock every day.

Takahashi, who lives in the Kingdom of AtCoder, goes to bed at $B$ o'clock and wakes up at $C$ o'clock every day (in the $24$-hour clock). He can shout his love for takoyaki when he is awake, but cannot when he is asleep. Determine whether he can shout his love for takoyaki every day. Here, a day has $24$ hours, and his sleeping time is less than $24$ hours.

Input

The input is given from Standard Input in the following format:

```
$A$ $B$ $C$
```

Output

Print Yes if Takahashi can shout his love for takoyaki every day, and No otherwise.

Constraints

-   $0\leq A,B,C\lt 24$
-   $A$, $B$, and $C$ are pairwise different.
-   All input values are integers.

Sample 1 Input

21 8 14

Sample 1 Output

Yes
Takahashi goes to bed at $8$ o'clock and wakes up at $14$ o'clock every day. He is awake at $21$ o'clock, so he can shout his love for takoyaki every day. Therefore, print Yes.

Sample 2 Input

0 21 7

Sample 2 Output

No
Takahashi goes to bed at $21$ o'clock and wakes up at $7$ o'clock every day. He is not awake at $0$ o'clock, so he cannot shout his love for takoyaki every day. Therefore, print No.

Sample 3 Input

10 7 17

Sample 3 Output

No

Source/Category