Three integers , , and are given. Is it possible to rearrange the digits of and so that their sum equals ?
Three integers , , (0 < a, b, c < 10^9).
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.
Example 1