5576: Edge Checker边检查器(ABC240A)
内存限制:1024 MB
时间限制:2.000 S
评测方式:文本比较
命题人:
提交:0
解决:0
题目描述
Problem Statement:
In the figure shown in the image below, are the points numbered $a$ and $b$ directly connected by a line segment?
In the figure shown in the image below, are the points numbered $a$ and $b$ directly connected by a line segment?
小高正在看一张图片。在这张图片中,是否存在一条直接连接编号为a 和 b 的两个点的线段?
输入
a b
输出
If the points numbered $a$ and $b$ are directly connected by a line segment, print `Yes`; otherwise, print `No`.
The judge is **case-sensitive**: be sure to print uppercase and lowercase letters correctly.
如果编号为 a 和 b 的点直接由一条线段连接,输出 "Yes";否则,输出 “No”。判题系统区分大小写:请确保正确输出大小写字母。
样例输入 复制
4 5
样例输出 复制
Yes
提示
Constraints:
- $1 \leq a \lt b \leq 10$
- $a$ and $b$ are integers.
- $1 \leq a \lt b \leq 10$
- $a$ and $b$ are integers.