Write a program to check whether a given number is Automorphic number or not.
A number is called Automorphic number if and only if its square ends in the same digits as the number itself.
For example, 762 = 5776 which ends with 76 therefore it is a automorphic number.
The first line of the input contains T denoting the total number of testcases. Each of the next T lines contains a positive integer N denoting the value of a number.
Output "Automorphic" if given number is Automorphic else "Not Automorphic" .