eolymp
bolt
Try our new interface for solving problems
Problems

Product of nonzero digits

Product of nonzero digits

Find the product of nonzero digits for given integer. \InputFile One positive integer $n~(n \le 10^9)$. \OutputFile 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