AtCoder Beginner Contest 047
翻译中…
Problem Statement
翻译中…
Two students of AtCoder Kindergarten are fighting over candy packs.
翻译中…
There are three candy packs, each of which contains $a$, $b$, and $c$ candies, respectively.
翻译中…
Teacher Evi is trying to distribute the packs between the two students so that each student gets the same number of candies. Determine whether it is possible.
翻译中…
Note that Evi cannot take candies out of the packs, and the whole contents of each pack must be given to one of the students.
翻译中…
Constraints
翻译中…
$1 ≦ a, b, c ≦ 100$
翻译中…
Input
翻译中…
The input is given from Standard Input in the following format:
翻译中…
a b c
翻译中…
Output
翻译中…
If it is possible to distribute the packs so that each student gets the same number of candies, print Yes. Otherwise, print No.
翻译中…
样例
Input #1
10 30 20
Output #1
Yes
Give the pack with $30$ candies to one student, and give the two packs with $10$ and $20$ candies to the other. Then, each gets $30$ candies.
Input #2
30 30 100
Output #2
No
In this case, the student who gets the pack with $100$ candies always has more candies than the other.
Note that every pack must be given to one of them.
Input #3
56 25 31
Output #3
Yes
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。