CATXAT - CAT and XAT
In a certain language (consisting of 26 upper case alphabets only),
CAT is written as ZGXEQX.
XAT is written as UBXEQX.
You are given various strings as input and according to the translation logic potrayed by above examples you need to give its corresponding string in that other language.
First line consists of t, the number of test cases. Next t lines consists of a string s consisting of uppercase alphabets (A-Z) only.
Output consists of t lines each containing the final transformed output string for given input string.
t <= 100
1<=length(s) <= 100
should be moved to Tutorial..!!
what should be the ans for CATAT ?