시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 256 MB16513012383.673%

## 문제

One of the listeners of the NPR Sunday Puzzle show described the following puzzle: The word "wizard" has the peculiar property that its letters can be grouped in pairs,

• A and Z
• B and Y
• C and X
• M and N

that are opposite each other in the alphabet. That is, A and Z are at opposite ends of the alphabet, C and X are three letters in from their respective ends, and M and N are 13 letters in from their respective ends. Can you name a well-known brand name in six letters that has this same property? Answer: La-Z-Boy (Notice the alphabetic opposites don't have to appear in opposite positions in the word)

Given a list of words you must determine which of the words are “opposite” words. Note that capitalization is not important when determining is a word is an “opposite” word.

## 입력

The first line of input will be a positive integer, n, indicating the number of problem sets that follow. Following the positive integer will be n text strings, one per line.

## 출력

For each problem set print “Yes” if the string is an “opposite” word and “No” if it is not an “opposite” word.

## 제한

• 1 ≤ the length of text string ≤ 15

## 예제 입력 1

5
Wizard
Mark
La-Z-Boy
Love
Hello


## 예제 출력 1

Yes
No
Yes
Yes
No


## 출처

• 빠진 조건을 찾은 사람: jaehoo1