The first line of the input contains an integer, denoting the number of test cases.
In each test case, there are three integersand
in one line.
For each test case, output the maximum value of the function in the form of the simplest fraction.
6/5, 2, -3/5 are simple fractions, but 2/1, 10/5, 1/1, 3/-5 not.