#21Easy
Digits of a two-digit number
Time: 1 s · Memory: 256 MB
- Arithmetic
Statement
You are given a two-digit number . Find the sum and the product of its digits.
Input format
A single integer ().
Output format
A single line with two integers: the sum of the digits, then their product.
Examples
Input
23
Output
5 6
Input
70
Output
7 0
Note
The tens digit is integer-divided by , the units digit is the remainder of divided by . For example, for : , , the sum is and the product is .
