/
実行時間制限: 2 sec / メモリ制限: 1024 MiB
配点 : 100 点
問題文
高橋君は鎧を着ています。
この鎧は威力(整数で表される攻撃の強さ)が D 以下の攻撃をすべて防ぎますが、威力が D より大きい攻撃は防ぎません。
この鎧は威力が A の攻撃を防ぎますか。
制約
- 1 \leq A \leq 100
- 1 \leq D \leq 100
- 入力される値はすべて整数
入力
入力は以下の形式で標準入力から与えられる。
A D
出力
鎧が攻撃を防ぐなら Yes、防がないなら No と出力せよ。
入力例 1
4 5
出力例 1
Yes
この例では A = 4, D = 5 です。A = 4 は D = 5 以下であるため鎧は攻撃を防ぎ、答えは Yes です。
入力例 2
5 5
出力例 2
Yes
この例では A = 5, D = 5 です。A = 5 は D = 5 以下であるため鎧は攻撃を防ぎ、答えは Yes です。
入力例 3
6 5
出力例 3
No
この例では A = 6, D = 5 です。A = 6 は D = 5 以下でないため鎧は攻撃を防がず、答えは No です。
Score : 100 points
Problem Statement
Takahashi is wearing armor.
This armor blocks all attacks with power (strength represented as an integer) of D or less, but does not block attacks with power greater than D.
Does this armor block an attack with power A?
Constraints
- 1 \leq A \leq 100
- 1 \leq D \leq 100
- All input values are integers.
Input
The input is given from Standard Input in the following format:
A D
Output
Output Yes if the armor blocks the attack, and No otherwise.
Sample Input 1
4 5
Sample Output 1
Yes
In this sample, A = 4 and D = 5. Since A = 4 is at most D = 5, the armor blocks the attack, so the answer is Yes.
Sample Input 2
5 5
Sample Output 2
Yes
In this sample, A = 5 and D = 5. Since A = 5 is at most D = 5, the armor blocks the attack, so the answer is Yes.
Sample Input 3
6 5
Sample Output 3
No
In this sample, A = 6 and D = 5. Since A = 6 is not at most D = 5, the armor does not block the attack, so the answer is No.