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
Constraints
Input Specification
The first line will contain space-separated integers
Output Specification
Output SQUARE
if the area of the square is larger, and CIRCLE
otherwise.
Sample Input 1
Copy
6 2
Sample Output 1
Copy
SQUARE
Explanation for Sample Output 1
The square has area
Sample Input 2
Copy
12 124
Sample Output 2
Copy
CIRCLE
Comments
Why is the second case not working?
Many languages such as
Python
,Java
, andC++
have built-in functions for raising numbers to powers. (such aspow
inC++
andMath.pow
inJava
).However, writing your own exponentiation function is often preferred over using your languages built-in functions due to precision errors.
Thank you.