P24798 [AtCoder] [ABC366A] Election 2
入门
题目描述

Problem Description

In AtCoder City, a mayoral election is being held. The candidates are Mr. Takahashi and Mr. Aoki.

There are $ N $ valid votes cast for either of the two candidates, and the counting is currently in progress. Note that $ N $ is an odd number.

The current progress of the counting shows $ T $ votes for Mr. Takahashi and $ A $ votes for Mr. Aoki.

Determine if the outcome of the election is already decided at this point.

Input Format

The input is given from the standard input in the following format:

$ N $ $ T $ $ A $

Output Format

If the outcome is already decided, output Yes; otherwise, output No.

Sample Input and Output

Sample Input #1

7 4 2

Sample Output #1

Yes

Sample Input #2

99 12 48

Sample Output #2

No

Sample Input #3

1 0 0

Sample Output #3

No

Notes/Hints

Constraints

  • $1 \leq N \leq 99$
  • $ N $ is an odd number
  • $0 \leq T, A \leq N$
  • $T + A \leq N$
  • All inputs are integers

Sample Explanation 1

Even if the remaining $ 1 $ vote goes to Mr. Aoki, Mr. Takahashi will still win. Since Mr. Takahashi's victory is confirmed, output Yes.

Sample Explanation 2

Although Mr. Aoki is currently leading, if Mr. Takahashi wins the remaining $ 39 $ votes, he will win. Therefore, output No.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
7 4 2
样例输出
Yes