402354: GYM100735 I Yet another A + B

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

Description

I. Yet another A + Btime limit per test0.25 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard output

You are given three numbers. Is there a way to replace variables A, B and C with these numbers so the equality A + B = C is correct?

Input

There are three numbers X1, X2 and X3 (1 ≤ Xi ≤ 10100), each on a separate line of input.

Output

Output either "YES", if there is a way to substitute variables A, B and C with given numbers so the equality is correct, or "NO" otherwise.

ExamplesInput
1
2
3
Output
YES
Input
1
2
4
Output
YES
Input
1
3
5
Output
NO

加入题单

算法标签: