201050: [AtCoder]ARC105 A - Fourtune Cookies

Memory Limit:1024 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Score : $200$ points

Problem Statement

Snuke has four cookies with deliciousness $A$, $B$, $C$, and $D$. He will choose one or more from those cookies and eat them. Is it possible that the sum of the deliciousness of the eaten cookies is equal to that of the remaining cookies?

Constraints

  • All values in input are integers.
  • $1 \leq A,B,C,D \leq 10^{8}$

Input

Input is given from Standard Input in the following format:

$A$ $B$ $C$ $D$

Output

If it is possible that the sum of the deliciousness of the eaten cookies is equal to that of the remaining cookies, print Yes; otherwise, print No.


Sample Input 1

1 3 2 4

Sample Output 1

Yes
  • If he eats the cookies with deliciousness $1$ and $4$, the sum of the deliciousness of the eaten cookies will be equal to that of the remaining cookies.

Sample Input 2

1 2 4 8

Sample Output 2

No
  • Whatever choice he makes, the sum of the deliciousness of the eaten cookies will never be equal to that of the remaining cookies.

Input

加入题单

上一题 下一题 算法标签: