Competitions
PP1 Week 2 Conditionals Part 2
Two digits in a row
Four-digit number is given. Determine is there two consecutive digits 3 and 7.
Input data
One four-digit number.
Output data
Print "YES" if the number contains digits 3 and 7 in a row. Print "NO" otherwise.
Examples
Input example #1
1378
Output example #1
YES
Input example #2
3478
Output example #2
NO