Product of nonzero digits#8681

Product of nonzero digits

1 secondo
128 megabyte
Molto facile

Find the product of nonzero digits of the given integer.

Input

One positive integer n~(n \le 10^9).

Output

Print the product of nonzero digits of number .

Esempi

Esempio 1

Loading
Loading