There are several test cases in one input file. EOF indicates the end of input file.
Every test case contain two positive numbers N, D in one line.
It is guaranteed that 1<N≤10^9, D≤99. The number of test cases≤10.
2 2
3 3
5 5
1
49/81
18/625