Print Them Out

Please print out the given fractions to the given number of decimal places.

Input

Input to the program will consist of multiple data sets. Each data set is given in the format A B/C. A will be between 1 and 9, while B and C will be between 1 and 1000. B will always be equal or smaller than C

Output

For each input set, you will print out the fraction B/C rounded to A decimal places in its own line.

Sample Input

5 1/3
4 2/5
6 1/7
1 1/1

Sample Output

0.33333
0.4000
0.142857
0.0