eolymp
Competitions

Week 1: November 2 – 8. Introduction to C language. Part 1

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