As is knonw to acmers , the language of XCPC is English , so that English is one of the key to solve a problem
khann partcipated in the cet 6 in 2022.06
But he was afraid he wouldn't pass the cet 6
Now you've suddenly gained an ability ,that you can arbitrarily exchange the position of the numbers of khann's scores , but you can't change the scores to greater than 750 , otherwise khann's score will be treated as invalid .
For example , if the score of khann is 349 ; You can change it to 439 , so that khann can pass the cet 6 ;
But if you change the score to 943 , khann's score will be treated as invalid .
can you help khann to pass the cet 6 ?
Tips:if you can make the the scores more than or equal to 420 , you could help khann to pass the cet 6
more than or equal to 420!
more than or equal to 420!
more than or equal to 420!
(It seems that i made a mistake , but i would't change it )
The first line of input data contains an integer () — the number of input test cases.
The first line of each test case contains one integers n ( 100 < n <= 420 )
Tip : if n == 420 . khann can pass cet 6
For each test case in a separate line output:
YES if you can help khann to pass the cet 6
NO if you can't help khann to pass the cet 6
3 149 233 180
YES NO NO