#abc367a. A - Shout Everyday

A - Shout Everyday

Score : 150150 points

问题陈述

在AtCoder王国,居民们每天必须在AA点大声表达他们对章鱼烧的喜爱。

Takahashi住在AtCoder王国,他每天在BB点睡觉,在CC点起床(24小时制)。当他醒着的时候,他可以大声表达他对章鱼烧的喜爱,但当他睡着的时候,他不能。确定他是否每天都能大声表达他对章鱼烧的喜爱。在这里,一天有24小时,他的睡眠时间少于24小时。

以上为大语言模型 kimi 翻译,仅供参考。

Problem Statement

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

Takahashi, who lives in the Kingdom of AtCoder, goes to bed at BB o'clock and wakes up at CC o'clock every day (in the 2424-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 2424 hours, and his sleeping time is less than 2424 hours.

Constraints

  • 0A,B,C<240\leq A,B,C\lt 24
  • AA, BB, and CC are pairwise different.
  • All input values are integers.

Input

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

AA BB CC

Output

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

Sample Input 1

21 8 14

Sample Output 1

Yes

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

Sample Input 2

0 21 7

Sample Output 2

No

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

Sample Input 3

10 7 17

Sample Output 3

No