e-olymp
Competitions

PP2. Week 1: March 1 - 7

Product of digits

Three digital number is given. Find the product of its digits.

Input

One three digital positive integer n.

Output

Print the product of digits in n.

Time limit 1 second
Memory limit 128 MiB
Input example #1
235
Output example #1
30
Source SFE-2010 Variant 6