#P15086. [UOI 2025 II Stage] A+B=C

[UOI 2025 II Stage] A+B=C

题目描述

Us the Cossack laid out matches on the table to form the expression (not necessarily correct) a+b=ca+b=c, where a,b,ca,b,c are single-digit integers from 00 to 99.

:::align{center} :::

Vus the Cossack noticed this expression and wants to move the matches only\textbf{only} in the numbers aa and bb so that the expression becomes correct. That is, the +\tt{+}, =\tt{=} and cc cannot be changed.

Can Vus make the expression correct?

输入格式

The first line contains three integers aa, bb, and cc (0a,b,c9)(0\leq a,b,c\leq 9).

输出格式

Print Yes\tt{Yes}, if it is possible to do so, or No\tt{No} otherwise.

4 8 2
Yes
5 0 5
Yes
1 5 8
No

提示

In the first example:

:::align{center} :::

In the second example, the equality holds immediately.

In the third example, it is impossible to rearrange the matches.