Time

16:11:56
22 May 2012
Version for print

The ratio of product to the sum

   Calculate the ratio of the product numbers of natural numbers to their sum.


Specifications

   Input

   In single line set to a positive N, not exceeding 2·109.

   Output

   The desired ratio, calculated with an accuracy of 3 znachuschih digits after the decimal point.


Problem information

Time Limit: 1 seconds
Memory Limit: 64 MB
Balls for the passed test: 2
Complexity: 15% 493/577
Classes: Line program, Beginners

Example

Example input

36

Example output

2.000


← Mobile Phone Problems The height of the triangle →