Key to Success |
Any one-to-one mapping, f, of any alphabet to itself can be
used to encode text by replacing each occurrence of any letter, c, with
f(c).
One such mapping could be the mapping of a letter to
three positions beyond the letter in the alphabet.
That is, ,
,
,
and so on.
With this mapping, ``The car is blue'' will be encoded as ``Wkh fdu lv eoxh''.
The input begins with a single positive integer on a line by itself indicating the number of the cases following, each of them as described below. This line is followed by a blank line, and there is also a blank line between two consecutive inputs.
Your correct program should decodes the contents of each input set according to the following guidelines:
The outputs of two consecutive cases will be separated by a blank line.
1 abacxbacac qqqqqrrrrssstt
aaaaaccccbbbxx