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?
InputThere are three numbers X1, X2 and X3 (1 ≤ Xi ≤ 10100), each on a separate line of input.
OutputOutput 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.
ExamplesInput1Output
2
3
YESInput
1Output
2
4
YESInput
1Output
3
5
NO