Dice Throwing#1574

Dice Throwing

1 second
64 megabytes
Very easy

identical regular dice are rolled. Find the probability that the sum of all the rolled dice is at least .

Input

The input consists of several test cases. Each test case contains two integers (1 \leq n \leq 24) and (0 \leq x < 150), as described above. The last test case contains n = 0, x = 0 and should not be processed.

Output

For each test case, output the required probability as an irreducible proper fraction in the format shown in the sample. All numbers in the output are unsigned -bit integers.

Examples

Example 1

Loading
Loading