Calculate the sum of the series :
INPUT:
First line contains the number of test cases t, for each test case a single line representing m and n with two space separated integers.
OUTPUT:
For each test case, a single line representing thee sum of the series in the form of p/q.
Constraints:
1 <= t <= 100
1 <= m, n <= 30