#AT2181. A - Median?
A - Median?
当前没有测试数据。
A - Median?
Score : $100$ points
Problem Statement
Given integers $a$, $b$, and $c$, determine if $b$ is the median of these integers.
Constraints
- $1 \leq a, b, c \leq 100$
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
If $b$ is the median of the given integers, then print Yes
; otherwise, print No
.
5 3 2
Yes
The given integers are $2, 3, 5$ when sorted in ascending order, of which $b$ is the median.
2 5 3
No
$b$ is not the median of the given integers.
100 100 100
Yes