Олимпиадный тренинг

Задача 33635. Are the numbers included?


Given a three digit number. Determine if it contains numbers 3, 6 or 9.

Input 
The input to the program is a single number N \(( 100 <= N <= 999 )\).

Imprint 
Print YES if digits 3, 6 or 9 are included in the number, otherwise print NO.
 

 

Examples
# Input Output
1 359 YES
2 125 NO