Perfect Numbers are integers that are equal to the sum of all its divisors except that number itself.
Now, given an integer N ,write a program to print true if it is a perfect number or false if it is not a perfect number.
Input format
The first line contains the number of test cases T.
Each test case contains an integer N is provided.
Output format
For each test case on a new line, print true or false depending on N.
Example
Input
2
Perfect Numbers are integers that are equal to the sum of all its divisors except that number itself. Now, given an integer N ,write a program to print true if it is a perfect number or false if it is not a perfect number. Input format The first line contains the number of test cases T. Each test case contains an integer N is provided. Output format For each test case on a new line, print true or false depending on N. Example Input 2
28
96
Output true false