

Time Limit: 2 sec / Memory Limit: 1024 MiB
配点 : 9 点
問題文
高橋君は遊園地に行きました。
この遊園地のアトラクションに乗るには、以下の条件を全て満たさなければなりません。
- 身長 H cm 以上
- 体重 W kg 以下
高橋君は身長 h cm、体重 w kg です。
高橋君はアトラクションに乗ることができますか?
制約
- 100 \leq H,h \leq 200
- 50 \leq W,w \leq 100
- 入力は全て整数
入力
入力は以下の形式で標準入力から与えられる。
H W h w
出力
アトラクションに乗ることができるならば Yes
と、できないならば No
と出力せよ。
入力例 1
150 90 100 70
出力例 1
No
身長の条件を満たしていません。
入力例 2
123 85 199 99
出力例 2
No
体重の条件を満たしていません。
入力例 3
100 100 200 50
出力例 3
Yes
Score : 9 points
Problem Statement
Takahashi has come to an amusement park. To get on the ride in this park, one must meet all of the following restrictions.
- Must be at least H centimeters tall.
- Must weigh at most W kilograms.
Takahashi is h centimeters tall and weighs w kilograms. Can he get on the ride?
Constraints
- 100 \leq H,h \leq 200
- 50 \leq W,w \leq 100
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
H W h w
Output
If Takahashi can get on the ride, print Yes
; if he cannot, print No
.
Sample Input 1
150 90 100 70
Sample Output 1
No
He does not meet the height restriction.
Sample Input 2
123 85 199 99
Sample Output 2
No
He does not meet the weight restriction.
Sample Input 3
100 100 200 50
Sample Output 3
Yes