eolymp
bolt
Try our new interface for solving problems
Problems

The sum of two numbers

The sum of two numbers

Time limit 1 second
Memory limit 64 MiB

Here three numbers: a, b, c. To find out, how can you rearrange the numbers in the numbers a and b, that the amount turned c.

Input data

Three integers a, b, c (0 < a, b, c < 10^9).

Output data

If the desired permutation of digits exist, print the word YES, otherwise print the word NO. In a case of positive response print in the second line the number x, obtained by the permutation of digits of a, and the number y, obtained by the permutation of digits of b, such that the sum of x and y is c. The numbers x and y must not contain leading zeros. The numbers should be separated by a space. If some solutions exist, print any.

Examples

Input example #1
1 899999999 999999999
Output example #1
YES
1 999999998
Source 2008 XIX regional school olympiad in informatics, Vologda, Problem E