Back
Close

Mom's code

Statement

 Goal

My mom is convinced she is being hunted by the FBI, thus she uses a code when she sends me messages.
She told me to use this conversion table :

a -> c         A -> C
b -> d B -> D
c -> e C -> E
. . . .
. . . .
x -> z X -> Z
y -> a Y -> A
z -> b Z -> B
Input
Line 1: The coded message
Output
Line 1: The decoded message
Constraints
Example
Input
abc
Output
cde

Game modes
Fastest, Shortest, Reverse

Test cases
Example Test
Input
abc
Output
cde

Validator 1 Validator
Input
nopzZ
Output
pqrbB

Uppercase Test
Input
IcwZmypb
Output
KeyBoard

Validator 2 Validator
Input
Kmsqc
Output
Mouse

Number Test
Input
Ayl wms zsw kw 2 zylylyq
Output
Can you buy my 2 bananas

Validator 3 Validator
Input
G cyr 1 ynnjcq ctcpw kmplgle
Output
I eat 1 apples every morning

Punctuation Test
Input
Yqi, ylb gr qfyjj zc egtcl wms; qcci, ylb wms qfyjj dglb.
Output
Ask, and it shall be given you; seek, and you shall find.

Validator 4 Validator
Input
Ufyr uc'tc emr fcpc gq dygjspc rm amkkslgayrc.
Output
What we've got here is failure to communicate.

Solution language

Solution

Stub generator input