Eclipse

Time Limit: 2 Seconds    Memory Limit: 65536 KB

When the Moon passes between the Sun and the Earth, it may fully or partially block the Sun. This phenomenon is called solar eclipse.

Qiyās-ud-din Jamshid Kāshānī was one of the best Persian astronomers and mathematicians who lived in 8th century. He has written treatise on astronomical observational instruments and invented a mechanical planetary computer which could solve a number of planetary problems.

http://sharecode.ir/assets/problem_images/1336_17cf2f4aa0ba4fb4cbc87716bc26bb5e.jpg

An example of total eclipse

Jamshid is observing the sky to see the next happening of this beautiful and rare event. He has calculated exact location and radius of the Moon and the Sun. He wants to determine the type of eclipse that is happening.  

For simplicity, Jamshid assumes that he is standing in origin of a plane. He considers an object or part of it visible, if any point of that object except for the points on the boundary can be directly seen from the origin.

Input

First line of input contains a single integer t (t ≤ 10000), the number tests that follow. Each test consists of two lines, describing the Moon and the Sun respectively. Astronomical objects are defined as three integers x, y, r (−104 ≤ x,y ≤ 104 ,1 ≤ r ≤ 1000) specifying their position and radius. It is guaranteed that radius of the Sun is greater than or equal to radius of the Moon.

You are standing at the origin watching the sky. It is guaranteed that the Sun and the Moon are non-intersecting and do not touch each other. Also none of them encloses the origin neither on its interior nor its boundary.

Output

For each test you should output a single line. If the disk of the Sun is fully obscured by the Moon, output "Total eclipse". Otherwise if the blocking is partial, that is you can directly see a point strictly inside the circle of the Sun, output "Annular eclipse". In the case when the Moon is not blocking the Sun at all and all points strictly inside the circle of the Sun are visible to you, output "None".

Sample Input

3
1 1 1
10 10 2
1 2 1
5 5 2
1 10 1
10 2 2

Sample Output

Total eclipse
Annular eclipse
None
Submit

Source: 4th Kashan University's ACM Contest