#abc366a. A - Election 2
A - Election 2
Score : points
问题陈述
在AtCoder市正在进行市长选举。候选人是高桥和青木。
目前有张有效选票投给了两位候选人中的一位,计票正在进行中。这里,是一个奇数。
目前高桥的得票数为票,青木的得票数为票。
确定此时选举结果是否已经确定。
以上为大语言模型 kimi 翻译,仅供参考。
Problem Statement
A mayoral election is being held in AtCoder City. The candidates are Takahashi and Aoki.
There are valid votes cast for either of the two candidates, and the counting is currently underway. Here, is an odd number.
The current vote count is votes for Takahashi and votes for Aoki.
Determine if the outcome of the election is already decided at this point.
Constraints
- is an odd number.
- All input values are integers.
Input
The input is given from standard input in the following format:
Output
Print Yes
if the outcome of the election is already decided, and No
otherwise.
Sample Input 1
7 4 2
Sample 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
.
Sample Input 2
99 12 48
Sample Output 2
No
Although Aoki currently has more votes, Takahashi would win if he receives the remaining votes. Therefore, print No
.
Sample Input 3
1 0 0
Sample Output 3
No