Given a string, determine if it contains CCC
as a substring.
Constraints
The string will be of length at most
The string will only contain uppercase letters.
Input Specification
The input consists of a single string, the given string.
Output Specification
Output, on a single line, YES
if CCC
is not present in the string.
Output NO
otherwise.
Sample Input 1
Copy
CCC
Sample Output 1
Copy
NO
Sample Input 2
Copy
TUDOR
Sample Output 2
Copy
YES
Comments
Keep Tudor safe!