Median?

AtCoder
IDabc253_a
Time2000ms
Memory256MB
Difficulty
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: $a$ $b$ $c$ [samples]
Samples
Input #1
5 3 2
Output #1
Yes

The given integers are $2, 3, 5$ when sorted in ascending order, of which $b$ is the median.
Input #2
2 5 3
Output #2
No

$b$ is not the median of the given integers.
Input #3
100 100 100
Output #3
Yes
API Response (JSON)
{
  "problem": {
    "name": "Median?",
    "description": {
      "content": "Given integers $a$, $b$, and $c$, determine if $b$ is the median of these integers.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc253_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Given integers $a$, $b$, and $c$, determine if $b$ is the median of these integers.\n\n## Constraints\n\n*   $1 \\leq a, b, c \\leq 100$\n*   All values in input are integers.\n\n## Input\n\nInput is given from ...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments