Time Limit: 2 sec / Memory Limit: 1024 MB
Score : 100100 points
Problem Statement
Given integers aa, bb, and cc, determine if bb is the median of these integers.
Constraints
-
1 \leq a, b, c \leq 1001≤a,b,c≤100
-
All values in input are integers.
Input
Input is given from Standard Input in the following format:
aabbcc
Output
If bb is the median of the given integers, then print Yes; otherwise, print No.