An Animal Contest 1 P1 - Alpaca Shapes

View as PDF

Submit solution


Points: 3 (partial)
Time limit: 2.0s
Memory limit: 256M

Author:
Problem types

Today, Sam is learning all about circles and squares at school! Unfortunately, Sam is an alpaca and doesn't have a very good sense of size. As his best friend, you have been tasked with helping him determine the larger shape (it is guaranteed that one is larger than the other).

Note: The area of a square is defined as S^2 and the area of a circle is defined as 3.14 \times R^2.

Constraints

1 \le S,R \le 10^4

Input Specification

The first line will contain space-separated integers S and R, denoting the side length of the square and the radius of the circle respectively.

Output Specification

Output SQUARE if the area of the square is larger, and CIRCLE otherwise.

Sample Input 1

6 2

Sample Output 1

SQUARE

Explanation for Sample Output 1

The square has area 6^2=36, and the circle has area 3.14 \times 2^2=12.56. Therefore, the area of the square is larger.

Sample Input 2

12 124

Sample Output 2

CIRCLE

Comments

There are no comments at the moment.