eolymp
bolt
Try our new interface for solving problems
Problems

At least two equal digits

At least two equal digits

Time limit 1 second
Memory limit 128 MiB

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