Write a program that reads triples of natural numbers , and , and for each one computes and prints the result of for all fractions with denominator smaller than or equal to .
Input consists of several triples of natural numbers , and , such that and .
For each triple, print in a line the result of the sum with four digits after the decimal point.
Input
1 3 1 5 5 2 5 6 2 5 7 2
Output
1.8333 0.2000 0.2000 0.3429