101520: [AtCoder]ABC152 A - AC or WA

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Score : $100$ points

Problem Statement

Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.
The problem has $N$ test cases, all of which must be passed to get an AC verdict.
Takahashi's submission has passed $M$ cases out of the $N$ test cases.
Determine whether Takahashi's submission gets an AC.

Constraints

  • $1 \leq N \leq 100$
  • $0 \leq M \leq N$
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

$N$ $M$

Output

If Takahashi's submission gets an AC, print Yes; otherwise, print No.


Sample Input 1

3 3

Sample Output 1

Yes

All three test cases have been passed, so his submission gets an AC.


Sample Input 2

3 2

Sample Output 2

No

Only two out of the three test cases have been passed, so his submission does not get an AC.


Sample Input 3

1 1

Sample Output 3

Yes

Input

题意翻译

### 题目描述 高橋给了你两个数,这两个数分别有两种情况。 * 这两个数相等,此时,我们认为它们是‘AC'的 * 这两个数不等,此时,我们认为它们是‘WA'的 ### 输入格式 按以下格式输入两个数,$N$ 与 $M$。 > $ N $ $ M $ ## 输出格式 高橋提出,如果这两个数是‘AC’的,则输出 `Yes`, 否则,输出`No`。 ### 样例输入 #1 ``` 3 3 ``` ### 样例输出 #1 ``` Yes ``` ## 样例 #2 ### 样例输入 #2 ``` 3 2 ``` ### 样例输出 #2 ``` No ``` ## 样例 #3 ### 样例输入 #3 ``` 1 1 ``` ### 样例输出 #3 ``` Yes ``` ### 提示 - $ 1\ \leq\ N\ \leq\ 100 $ - $ 0\ \leq\ M\ \leq\ N $ - N,M皆为整数。 ### 样例说明 1 输入的两个数都是 $ 3 $。 如题目描述,此情况为 ‘AC’。 所以,输出‘Yes'。 ### 样例说明 2 输入的两个数是 $ 3 $与 $2$ 。 如题目描述,此情况为 ‘WA’。 所以,输出‘No'。 感谢@[Mr__AC](https://www.luogu.com.cn/user/762010)提供的翻译

加入题单

上一题 下一题 算法标签: