#C10260. Decode Sequence

    ID: 39446 Type: Default 1000ms 256MiB

Decode Sequence

Decode Sequence

This problem tasks you with decoding a sequence of lowercase letters by shifting each letter two positions forward in the alphabet. The operation is cyclic, meaning that after 'z' the sequence wraps around: \(z\rightarrow b\) and \(y\rightarrow a\) (since every letter advances by 2).

You are given several sequences and you should output the decoded sequence for each one in the format: Case i: decoded_sequence where i is the 1-indexed sequence number.

inputFormat

The input begins with an integer (n) denoting the number of sequences. Each of the following (n) lines contains a sequence consisting of lowercase English letters.

outputFormat

Output (n) lines, each in the format: "Case i: decoded_sequence", where (i) is the sequence number (starting from 1).## sample

3
abc
xyz
mno
Case 1: cde

Case 2: zab Case 3: opq

</p>