LearnPy Hub
← Arena
EasyRating 800

Product of Digits

Print the product of the digits of n.

Input

One integer n (1 ≤ n ≤ 10¹⁸).

Output

The product.

Sample 1

Input
123
Output
6

Sample 2

Input
905
Output
0
solution.py
Output appears here
Product of Digits · Python Arena problem · LearnPy Hub