Election 2

AtCoder
IDabc366_a
Time2000ms
Memory256MB
Difficulty
A mayoral election is being held in AtCoder City. The candidates are Takahashi and Aoki. There are $N$ valid votes cast for either of the two candidates, and the counting is currently underway. Here, $N$ is an odd number. The current vote count is $T$ votes for Takahashi and $A$ votes for Aoki. Determine if the outcome of the election is already decided at this point. ## Constraints * $1 \leq N \leq 99$ * $N$ is an odd number. * $0 \leq T, A \leq N$ * $T + A \leq N$ * All input values are integers. ## Input The input is given from standard input in the following format: $N$ $T$ $A$ [samples]
Samples
Input #1
7 4 2
Output #1
Yes

Even if the remaining one vote goes to Aoki, Takahashi will still win. That is, his victory is decided, so print `Yes`.
Input #2
99 12 48
Output #2
No

Although Aoki currently has more votes, Takahashi would win if he receives the remaining $39$ votes. Therefore, print `No`.
Input #3
1 0 0
Output #3
No
API Response (JSON)
{
  "problem": {
    "name": "Election 2",
    "description": {
      "content": "A mayoral election is being held in AtCoder City. The candidates are Takahashi and Aoki. There are $N$ valid votes cast for either of the two candidates, and the counting is currently underway. Here, ",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc366_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "A mayoral election is being held in AtCoder City. The candidates are Takahashi and Aoki.\nThere are $N$ valid votes cast for either of the two candidates, and the counting is currently underway. Here, ...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments