Competitions

# Sum and product 3

Given three-digit positive integer. Find the sum and the product of its digits.

#### Input

One three-digit positive integer n (100n999).

#### Output

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

Time limit 1 second
Memory limit 128 MiB
Input example #1
234

Output example #1
9 24

Source Ramin Textbook Z1.6