eolymp
bolt
Try our new interface for solving problems
Problems

The ratio of product to the sum

The ratio of product to the sum

Time limit 1 second
Memory limit 128 MiB

Find the ratio of the product of digits of natural number to their sum.

Input data

One positive integer n, not greater than 2 ·10^9.

Output data

The desired ratio, calculated with 3 decimal digits.

Examples

Input example #1
36
Output example #1
2.000