The ratio of product to the sum
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the ratio of the product of digits of natural number to their sum.
Input
One positive integer n, not greater than 2 ·10^9
.
Output
The desired ratio, calculated with 3 decimal digits.
Examples
Input #1
Answer #1
Submissions 33K
Acceptance rate 38%