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
Output appears hereOne integer n (1 ≤ n ≤ 10¹⁸).
The product.
123
6
905
0
Output appears here