The R and S countries are in war, and both sides send spies to each other to serve the other party.
After the hardships, the R-state spy C lurking in S finally figured out the coding rules of S-state military passwords:
1. The original information to be sent by the S military is encrypted and sent on the network, the content of the original information and the encrypted content are composed of uppercase letters 'a'-'Z' (without spaces or other letters ).
2. Country S specifies the corresponding "password" for each letter ". The encryption process is to replace all the letters in the original information with the corresponding "password ".
3. Each letter corresponds to only one unique "password", and different letters correspond to different "password ". The password can be the same as the original letter.
For example, if the password of 'A' is set to 'A' and that of 'B' is 'C' (other letters and characters are omitted ), the original information "ABA" is encrypted as "ACA ".
Now, Mr. C has mastered an encrypted message sent from the S-country network and its original information through the internal line. Small C hopes to use this information to crack S's military password. The decryption process of small C is as follows: scan the original information. For the letter x in the original information (representing any capital letter), find the corresponding capital letter y in the encrypted information, in the password, y is the password of x. This continues until it stops in the following status:
1. After scanning all the information, all 26 letters of 'A'-'Z' have appeared in the original information and obtained the corresponding "password ".
2. All information is scanned, but some (or some) letters are not found in the original information.
3. The scanned information contains obvious self-contradictions or errors (violating the S-pass password encoding rules ). For example, if a piece of information "XYZ" is translated as "ABA", it violates the rule that "different letters correspond to different characters.
When Mr. C was so busy, the R State Command sent a telegram asking him to translate another piece of encrypted information just captured from country S. Now, please help little C: Try to decrypt the password through the internal information. Then, use the deciphering password to translate the encrypted information in the telegram.