eolymp
bolt
Try our new interface for solving problems
Problems

At least two equal digits

At least two equal digits

Five-digit number is given. Determine whether the number contains at least two identical digits. \InputFile One five-digit number. \OutputFile Print "\textbf{YES}" if the number has at least two identical digits. Print "\textbf{NO}" otherwise.
Time limit 1 second
Memory limit 128 MiB
Input example #1
12345
Output example #1
NO
Input example #2
63456
Output example #2
YES