khann的六级

TimeLimit:1000MS  MemoryLimit:128MB
64-bit integer IO format:%lld
未提交 | 登录后收藏
Problem Description

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!


1659591532025047271.png

It seems that i made a mistake , but i would't change it QQ图片20220804134647.gif


Input

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 

Output

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 

SampleInput
3
149
233
180
SampleOutput
YES
NO
NO
Submit
题目统计信息详细
总AC数104
通过人数92
尝试人数97
总提交量316
AC率29.11%
AC该题后可以添加标签
贴完标签可以获得20ACB。
并且可以获得本题所有提交代码查看权限。
点击标题可以显示标签。
如果你还没认真思考过这题,请不要查看标签
如果您已经通过了该题,请务为该题贴上标签
作者

T^T Online Judge

[BUG反馈] [FAQ] [闽ICP备17026590号-1]
当前版本:3.24 系统时间: