Martians use the English alphabet to communicate. However, they have an entirely different language, but it’s based on a one-to-one (bijective) mapping of letters from Martian to English. Be careful though, lower-case and upper-case letters in English aren’t necessarily the same in Martian. For example, the word "CARS" in Martian translates to "Unil" in English, whereas the word "cars" in Martian translates to "EPFL".
The Martians have invaded Earth! But, we have intercepted their communications. Help us translate their messages to English.
The first line of the input contains an integer n (1 ≤ n ≤ 100).
The second line contains a sentence in Martian, consisting of n space-separated words each consisting of lower-case and upper-case English letters. The total number of letters in the sentence is at most 105.
Print, on a single line, n space-separated words representing the English translation of the sentence.
Do not print any leading or trailing spaces, and end your output with a newline character.
1
CARS
Unil
1
cars
EPFL
3
IuVEJxTXs UvOHhng yZKfAYmaqolM
vpVZzBNtL SCubWma ocIYneAPqxDs
3
NtGQibw djPrCpek FWzL
hRkMGgJ fHrFUQTj XOwd
3
aySBaPyb RM gzYMynY
PolyProg is awesome