You are given a string . A string is called a split string if it follows both the conditions defined below:
Print YES if is a split string otherwise print NO.
Input Format:
Output Format:
For each test case, print YES if is a split string otherwise print NO.
Constraints:
consists of lowercase English letters.
First test case:-
It can be proven that the string cannot follow the two conditions. Hence, the answer is NO.
Second test case:-
It can be divided into , , and , the first letter of the strings are the same.
It can be divided into , , and , the first letter of the strings are distinct.
Hence, the answer is YES.