407211: GYM102697 182 Lucky Numbers
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
182. Lucky Numberstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output This problem is worth 10 points.
You consider a number to be "lucky" if it has any digits equal to 7. For example, 7377, 87, and 98789 are lucky, while 6, 300, and 561 are not lucky. Given a number, figure out whether or not it is a lucky number.
InputThe only line of input consists of a single integer $$$n$$$.
OutputIf $$$n$$$ is a lucky number, output "YES" (no quotes). Otherwise, output "NO" (no quotes).
ExamplesInput7377Output
YESInput
1101Output
NOInput
3060Output
NO