Adjacent Button Characters#12822

Adjacent Button Characters

1 second
512 megabytes
Very easy

You are given a standard QWERTY keyboard and two letters. Find out if they are located on the same row.

Just in case if you don't have a standard keyboard, we give you a picture of it.

If you have doubts about certain cases of the placement of the keys, refer to the sample to clarify.

Input

The first line of the input contains one integer (1 \le t \le 1000) — the number of the test cases.

Then test cases follow. Each test case is placed on the new line and consists of two lowercase English letters separated by a space. These characters are lowercase English letters.

Output

For each test case print in the new line "Yes" if they are on the same row. Otherwise, print "No".

Examples

Example 1

Loading
Loading