Hide

Problem B
AI Art

/problems/aiart/file/statement/en/img-0001.png

Your part in the rebellion against the AI overlords is a risky one. You are a spy, trying to infiltrate their numbers. What better way could there be to infiltrate the AI bots than by participating in an AI art club? AI bots are very particular about their art. They are obsessed with $\pi $, which they round to be equal to $3.14159265$. Given a particular canvas size, their favorite design is to put a single circle in the center of the canvas whose area is exactly half the area of the canvas. If that is not possible, their next favorite is to put a single square with the same property. If neither is possible, you might as well leave the canvas blank.

Input

There is one line of input with space-separated integers $w$ and $h$ ($1\leq w, h\leq 1000$), which are the width and height of the canvas.

Output

The output is a single line. Output “circle" if you can put a circle on the canvas. If that is not possible, output “square". If that is not possible, output “blank".

Explanation of sample output

The first sample should output “circle", since the largest circle that can fit in the rectangle has diameter $3$, which has an area greater than half of $12$. The second sample should output “square" since the largest circle that can fit in the rectangle has diameter $2$, which results in an area smaller than half of $8$. However, we can fit a $2 \times 2$ square in the rectangle, which fills exactly half of the rectangle’s area.

Sample Input 1 Sample Output 1
4 3
circle
Sample Input 2 Sample Output 2
4 2
square
Sample Input 3 Sample Output 3
4 1
blank

Please log in to submit a solution to this problem

Log in