5571: Median?中位数吗?(ABC253A)
内存限制:1024 MB
时间限制:2.000 S
评测方式:文本比较
命题人:
提交:3
解决:2
题目描述
Problem Statement:
Given integers $a$, $b$, and $c$, determine if $b$ is the median of these integers.
Given integers $a$, $b$, and $c$, determine if $b$ is the median of these integers.
给定整数 a、b和c,判断b是否是这三个整数的中位数。
输入
Input is given from Standard Input in the following format:
```
$a$ $b$ $c$
```
输出
If $b$ is the median of the given integers, then print `Yes`; otherwise, print `No`.
如果b是给定整数的中位数,则输出 Yes;否则,输出 No。
样例输入 复制
5 3 2
样例输出 复制
Yes
提示
Constraints:
- $1 \leq a, b, c \leq 100$
- All values in input are integers.
- $1 \leq a, b, c \leq 100$
- All values in input are integers.