#P1526B. I Hate 1111
I Hate 1111
Description
You are given an integer . Can you make by summing up some number of ? (You can use any number among them any number of times).
For instance,
The first line of input contains a single integer — the number of testcases.
The first and only line of each testcase contains a single integer — the number you have to make.
For each testcase, you should output a single string. If you can make , output "YES" (without quotes). Otherwise, output "NO".
You can print each letter of "YES" and "NO" in any case (upper or lower).
Input
The first line of input contains a single integer — the number of testcases.
The first and only line of each testcase contains a single integer — the number you have to make.
Output
For each testcase, you should output a single string. If you can make , output "YES" (without quotes). Otherwise, output "NO".
You can print each letter of "YES" and "NO" in any case (upper or lower).
Note
Ways to make and were presented in the statement. It can be proved that we can't present this way.