Competitions
Week 2 Conditionals Part 2
At least two equal digits
Five-digit number is given. Determine whether the number contains at least two identical digits.
Input data
One five-digit number.
Output data
Print "YES" if the number has at least two identical digits. Print "NO" otherwise.
Examples
Input example #1
12345
Output example #1
NO
Input example #2
63456
Output example #2
YES