Ashu is writing his diary and he want to encrypt the text in his diary with a simple way such that every letter in a word is written in its mirror image form ( if the mirror image of letter exist i. e. it is also a letter ).
For example:
b ‘s mirror image is d
e ‘s mirror image is not a letter so e is remains as it is.
Ashu want your help to encrypt his text in this way.
Input format:
First line contain an integer specifying the number of text cases T ,and then T lines contains string of lower case letters only.
Output:
For T lines ,each line contains the required encryption of particular string.
Constraints: 1<=T<=50;