Problem Statement:
You're system administrator and one of your tasks is to hide the private files while keeping the public files shown to public.

The file is considered private if the sum of it's name is equivalent to the sum of it's extension

for example: abcaa.dd is a private file

abcaa = 1 + 2 + 3 + 1 + 1 = 8
dd = 4 + 4 = 8

while Bbc.ba is public file

Bbc = 2 + 2 + 3 = 7
ba = 2 + 1 = 3


Input Format:
First line contain N, the total number of files on server
Followed by N line each contain file name
File name is mixed by lowercase and uppercase letters, however, it must start and end with a letter and there must be exactly one dot
N is a positive integer less than or equal to 50
File name is at least 3 letters and maximum of 50 letters


Output Format:
print only the public file names each on a line


Sample Input:
2 abcaa.dd Bbc.ba


Sample Output:
Bbc.ba





Added by: gammal
Added at: 2015-04-06 16:00:00 UTC
Time Limit: 1 second
Partial score: No