URI Online Judge | 2727

Secret Code

By Juliane Alves, UFRGS BR Brazil

Timelimit: 1

Joana likes to play pretending to be a secret agent with her friends Bruna, Jaqueline and Laura. Joana and Bruna have created a secret code to communicate without their enemies discovering their plans. The secret code works as follows:

. → a
.. → b

... → c

. . → d

.. .. → e
... ... → f

. . . → g
.. .. .. → h
... ... ... → i

Your goal is to create a program that decipher the secret messages and help Jaqueline and Laura find out what Joana and Bruna are planning.

Input

The input contains several test cases. The first line of each test should contain an integer (≤ 50), which represents the number of letters to be deciphered and the next N lines contain the code for each letter.

Output

A string represented by the letter of the alphabet corresponding to the input code. Each string must be separated from the other by a new line.

Input Sample Output Sample

2
... ... ... ... ...
... ... ...
3
... ... ... ... ...
... ... ... ...
.

o
i
o
l
a