eolymp
bolt
Try our new interface for solving problems
Problems

Sum and product 3

Sum and product 3

Time limit 1 second
Memory limit 128 MiB

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

Input data

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

Output data

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

Examples

Input example #1
234
Output example #1
9 24
Source Ramin Textbook Z1.6