407078: GYM102697 049 Decryption
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
049. Decryptiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
A monoalphabetic cipher is a type of encryption where each letter in the alphabet correlates to another letter in the alphabet. For this question you need to decrypt a piece of text given the key used to encrypt it and the encrypted message.
InputThe first line will be the key needed to decrypted the text and the second line will be the encrypted message. For the key that is given, the first letter of the key correlates to A, the second letter in the the key goes to B, then C and so on.
OutputPrint the following: "Decrypted text: (Decrypted text)"
ExampleInputazertyuiopqsdfghjklmwxcvbn miol ligwsr zt ktarazst mtvmOutput
Decrypted text: this should be readable text