SP6772 HC - Happy Coins

Description

N/A

Input Format

The first line of the input contains one integer _T_, which indicate the number of test cases. Following each test, the first line contains an integer _N_ (_N_ N lines, each line contains a name, lxh or hhb, the name of whom this coins belongs to.

Output Format

For each case, output a line contains the name of whom the final coin belongs to.