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.

One three-digit positive integer n (100 ≤ n ≤ 999).

Print in one line the sum and the product of its digits.

Input #1

Answer #1