The sum of two numbers#556

The sum of two numbers

1 second
64 megabytes
Medium

Three integers , , and are given. Is it possible to rearrange the digits of and so that their sum equals ?

Input

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

Output

If such a rearrangement exists, print YES. Otherwise, print NO. If the answer is YES, on the second line print and : the numbers obtained by rearranging the digits of and respectively, such that x + y = c. The numbers and must not contain leading zeros. Separate and with a space. If there are multiple solutions, print any.

Examples

Example 1

Loading
Loading