Decypher

User Generated

erqmm

Programming

Description

Decypher

Alice and Bob are being held at Azkaban(Prison). They want to escape and join Dumbledore's Army. 
Alice wants to tell Bob about the details of the plan but wants to keep their escape plan from Dementors(the guards). 
So Alice encrypts the message before passing the chits to Bob's cell. 
However Bob was careless and he disposed the chits in his cell's waste paper bin. 
The clever Dementor found the chits but couldn't make out what they said. 
So he hired a computer programmer to decode the message for him. Please help the Dementor to decypher the message.

The code key that Alice used for this simple coding is a one for one character substitution based upon a single arithmetic 
manipulation of the printable portion of the ASCII character set.

INPUT
The Encrypted message in a single line. The maximum number of charaters in a message is 100. 
(DO NOT PRINT ANY PROMPT MESSAGE TO ENTER THE ENCRYPTED MESSAGE.)

OUTPUT
The decrypted message in a single line. (Do not print any other message other than the decrypted message.)

SAMPLE INPUT 1
[YHUZMVYT'[V'HUPTHN\Z'MVYT3

SAMPLE OUTPUT 1
TRANSFORM TO ANIMAGUS FORM,

SAMPLE INPUT 2
HUK'LZJHWL'^OLU'[OL`'IYPUN'MVVK5

SAMPLE OUTPUT 2
AND ESCAPE WHEN THEY BRING FOOD.

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

I can do the program for sure!!!!


Anonymous
Awesome! Made my life easier.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags