Palindrome is a string that is identical to its reverse, like "level" or "aa". Given a string, find if there is a palindrome with length greater than or equal to 2 in the string.
The first line of the input is an integer N, indicating the number of test cases.
In the next N lines, each contains a string. The length of each string is less than 1000. The number of test cases is less than or equal to 10.
In each test case, output “Yes” if there is a palindrome with length greater than or equal to 2 in the input. Otherwise, output “No”.