Geometry is a very important field in mathematics, Squares and rectangles are essential shapes in geometry, both of them have 4 right angles, but a square is a special case of a rectangle where width and height are the same.
The figure below shows a square on the left and a rectangle on the right:
If you have the width and the height of a 4 right angled shape, can you figure out if it is a square or a rectangle?
The first line contains T, the number of test cases, for each test case there is a line with two integers (1 ≤ w, h ≤ 1, 000, 000) representing width and height, respectively.
For each test case, print one line consists of 'Square' if the shape is a square, otherwise print 'Rectangle' if it is a rectangle.
3
10 10
13 200
300 300
Square
Rectangle
Square
| Name |
|---|


