A museum displays many valuable objects and installs surveillance cameras so that every object can be watched. Your task is to check a single camera against a single obstacle.
In the 2-D plane you are given a convex polygon A (the valuable object), a convex polygon B (another object), and a point C (the camera). Determine how much of polygon A is hidden by polygon B when the camera is placed at C.
Assumptions:
A point p of polygon A is hidden when the straight segment from C to p passes through polygon B. Depending on how much of A is hidden, decide whether A is fully visible, partially hidden, or completely hidden.
The first line contains an integer T (1≤T≤1000), the number of test cases.
Each test case consists of three lines:
All coordinates are non-negative and smaller than 231.
For each test case, print exactly one line:
CLEAR if polygon A is not obstructed by polygon B at all;ALMOST CLEAR if polygon A is only partially obstructed by polygon B;NO VISION if polygon A is completely hidden by polygon B.