#P110. 练19.3  比大小

练19.3  比大小

Description

Input the side length of a square ($a$) and the length and width of a rectangle ($b$, $c$), then compare the areas of the two shapes. If the rectangle's area is larger, output "RECTANGLE"; if the square's area is larger, output "SQUARE"; if they are the same, output "SAME".

Input Format

Input positive integers $a$, $b$, $c$ ($0

Output Format

If the rectangle's area is larger, output "RECTANGLE".
If the square's area is larger, output "SQUARE".
If they are the same, output "SAME".

Sample

5 4 6
SQUARE