Loading Now

HackIt

Once there was a hacker called Encryptor who used to hack complex things. One time he got stuck with a simple problem: he was not able to decode a string (probably because he had been working only on complex problems before). So he needs your help.

Given some sample cases, build an algorithm that decodes the given string. To decode a string you have to reverse each letter in it. Letter a is replaced with z, b with y , …, z with a. Remember that the output will always consist of meaningful English words.

Example:

  • For str="svool" the output should be HackIt(str)="hello".

Input/Output:

  • [execution time limit] 0.5 second
  • [input] string str

    A string that can contain capital letters, small letters, numbers and spaces.

  • [output] string

    A combination of meaningful English words.

Post Comment

Contact