You are given integers and , which are in base . Please print out the sum, and product of and in base .
The first line will contain the integer .
The second line will contain the integer .
The third line will contain the integer .
and will each contain at most digits, and each digit will be in the range . and will not contain leading zeros.
On the first line, output the sum of and .
On the second line, output the product of and .
Subtask 1 [20%]
Subtask 2 [80%]
No further constraints.
10 3 5