#ATabc228a. On and Off
On and Off
Background
Special for beginners, ^_^
Description
高桥家每日 s 时整开灯, t 时整关灯。求 x 点半的时候是不是开着灯?(注: 0≤s,t,x<24 ,有可能半夜还开着灯)
Format
Input
输入3个数 分别表示 s t x
Output
输出 Yes 或者 No,表示是否开着灯
Samples
7 20 12
Yes
20 7 12
No
23 0 23
Yes
Limitation
0 ≤ S, T, X ≤ 23 S≠T
Related
In following contests: