Do you like fractions?

No attempts yetTime limit2sMemory limit256 MB

Problem

You are writing the part of a basic math tutor that prints a fraction as a mixed number.

A proper fraction has a numerator smaller than its denominator. A mixed number splits off the whole part and writes what is left as a proper fraction. For a fraction with numerator nn and denominator dd, the whole part is the quotient q=n/dq = \lfloor n / d \rfloor and the numerator of the leftover fraction is the remainder r=nmoddr = n \bmod d. For example, 27/1227/12 becomes the whole part 22 and the proper fraction 3/123/12.

Do not reduce the fraction. Printing 1/41/4 in place of 3/123/12 is wrong.

Input

The input has several lines, and each line is one test case. Each line holds two integers separated by a space. The first is the numerator nn and the second is the denominator dd. Both are between 11 and 23112^{31} - 1.

Input ends on the line 0 0. That line is not a test case, so do not process it.

Output

For each test case, print the mixed number on one line. Print the whole part, the numerator of the leftover fraction, the character /, and the denominator, in that order, separated by single spaces.

Print a whole part of 00 or a remainder of 00 as it is. For numerator 33 and denominator 40004000, print 0 3 / 4000. For numerator 24600002460000 and denominator 9840098400, print 25 0 / 98400.