#P7846. Clockwise or Counterclockwise

Clockwise or Counterclockwise

Clockwise or Counterclockwise

Problem Description

It is preferrable to read the pdf statment. After some basic geometric lessons, Cuber QQ has learned that one can draw one and only one circle across three given distinct points, on a 2D plane. Specialized in art, Cuber QQ has shown remarkable skills to draw circle in one stroke, especially when the stroke is done clockwise. He wonder whether he will be able to do that if 3 points has been given. In particular, he is given three distinct points A(x1,y1)A(x_1, y_1), B(x2,y2)B(x_2, y_2), C(x3,y3)C(x_3, y_3) which lie on a circle centered at O(0,0)O(0,0). Imagine starting from AA, he draws the circle across BB and finally gets CC. Determine whether he is drawing clockwise or counterclockwise.

Input

The first line contains an integer TT (1T1 0001\le T\le 1~000), denoting the number of test cases. In the next TT lines, each line contains six space-separated integers x1x_1, y1y_1, x2x_2, y2y_2, x3x_3, y3y_3 (109x1,y1,x2,y2,x3,y3109-10^9\le x_1,y_1,x_2,y_2,x_3,y_3\le10^9) denoting the coordinate of AA, BB and CC. It is guaranteed that AA, BB, CC are pairwise distinct and AO=BO=CO>0|AO|=|BO|=|CO|> 0.

Output

For each test case, output one line containing ''Clockwise'' or ''Counterclockwise''.

Sample Input

3
1 2 2 1 -1 -2
4 3 -4 3 3 4
4 -3 4 3 3 4

Sample Output

Clockwise
Clockwise
Counterclockwise

Source

2020 Multi-University Training Contest 8