A. Kozak Vus and Clever Palindromes
Kozak Vus recently devised an intriguing problem.
You are given strings, each of which is a palindrome with an odd length. For each string, your task is to determine if there exists a palindrome of even length within it.
A palindrome is a sequence that reads the same forwards and backwards. For instance, "level" and "noon" are palindromes, whereas "abc" and "noun" are not.
A substring of a string is formed by removing zero or more characters from the start and zero or more characters from the end of .
Kozak Vus was particularly fond of this problem and the solution he devised. Can you solve it too?
Input
The first line contains an integer () — the number of strings.
The next lines each contain a string (), composed of lowercase Latin letters.
It is guaranteed that each is a palindrome of odd length.
Output
Print lines. On the -th line, print "Yes" if there is a substring of string that is a palindrome of even length; otherwise, print "No".
Examples
Note
In the second string, the substring "abba" is a palindrome of even length.
In the fourth string, the substring "zyyz" is a palindrome of even length.
Scoring
If your solution correctly handles the case where and , you will earn at least 30 points.