#C13951. Shift Three Letters
Shift Three Letters
Shift Three Letters
Given a string s, transform it by shifting each letter by 3 positions in the alphabet. The shifting is performed cyclically, that is, for lowercase letters, each letter \( c \) is transformed to \( c' = (c - 'a' + 3) \mod 26 + 'a' \), and similarly for uppercase letters with \( c' = (c - 'A' + 3) \mod 26 + 'A' \). Non-letter characters remain unchanged.
For example, the input abc
transforms to def
and xyz
transforms to abc
. Your program should read the input from standard input (stdin) and output the result to standard output (stdout).
inputFormat
The input consists of a single line string which may include letters, digits, spaces, and other characters.
outputFormat
Output a single string after applying the transformation as described.
## sampleabc
def