Is three digit

Is three digit. Given an integer, print “YES” if it’s a three-digit number and print “NO” otherwise.

Input

Correct answer

123

YES

1233

NO

5

NO

360

YES

79

NO

 

Leave a Reply

Your email address will not be published. Required fields are marked *