Two digits in a row
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Four-digit number is given. Determine is there two consecutive digits and .
Input
One four-digit number.
Output
Print "YES" if the number contains digits and in a row. Print "NO" otherwise.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 9K
Acceptance rate 55%