问题3354--ACMER,KEEP IT UP

3354: ACMER,KEEP IT UP

[命题人 : ]
时间限制 : 1.000 sec  内存限制 : 64 MB

题目描述

All Acmer of zstu, keep it up! And you will win all! In order to win the best female team, TomatoSmoothEggSlicedNoodles write 14 large letters "ACMER, KEEP IT UP" on the paper.(not including the space). And they want to paster them on the door of the lab. Since they are all beautiful and clever, someone takes one of their calligraphy. So they can only find 13 of them, can you help them to find which letter is lost?

输入

The first line of input contains a single integer P, (1 <= P <= 100), which is the number of data sets that follow. Each data set has 5 lines that contains many '*' or '.'. You can see from the example,each leter is 5 * 9,and between two letters there is one col with '.'.

输出

For each data set there is one line of output. It contains one letter which is lost.

样例输入 Copy

<p>
2
..*******.**.....**.*********.*********...........*..*......*********.*********.*********.*********.*********.*.......*.*********
.*........*.*...*.*.*.........*.......*...........*.*.......*.........*.........*.......*.....*.........*.....*.......*.*.......*
*.........*...*...*.*********.*********...***.....**........*********.*********.*********.....*.........*.....*.......*.*********
.*........*.......*.*.........*..*...........*....*.*.......*.........*.........*.............*.........*.....*.......*.*........
..*******.*.......*.*********.*.....***.....*.....*..******.*********.*********.*.........*********.....*......*******..*........
....*.....*********...*******.**.....**.*********.*********...........*..*......*********.*********.*********.*********.*********
...*.*....*.......*..*........*.*...*.*.*.........*.......*...........*.*.......*.........*.........*.......*.....*.........*....
..*****...*********.*.........*...*...*.*********.*********...***.....**........*********.*********.*********.....*.........*....
.*.....*..*..........*........*.......*.*.........*..*...........*....*.*.......*.........*.........*.............*.........*....
*.......*.*...........*******.*.......*.*********.*.....***.....*.....*..******.*********.*********.*.........*********.....*....                   
</p>

样例输出 Copy

A
U

来源/分类