e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

Product of nonzero digits

Product of nonzero digits

Find the product of nonzero digits for given integer.

Input

One positive integer n (n109).

Output

Print the product of nonzero digits for number n.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1203405
Output example #1
120