Sum and product 3
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given three-digit positive integer. Find the sum and the product of its digits.
Input
One three-digit positive integer n (100 ≤ n ≤ 999).
Output
Print in one line the sum and the product of its digits.
Examples
Input #1
Answer #1
Submissions 26K
Acceptance rate 63%