#K42117. Shift Characters

    ID: 27017 Type: Default 1000ms 256MiB

Shift Characters

Shift Characters

Given a string S, transform every alphabetical character to its next character in the English alphabet. For lowercase letters, 'z' wraps around to 'a', and for uppercase letters, 'Z' wraps around to 'A'. Non-alphabetical characters remain unchanged.

The transformation can be mathematically represented as follows: For a letter \( ch \), if \( ch \) is lowercase then the new character is \( \text{char}((\text{ord}(ch) - \text{ord}('a') + 1) \mod 26 + \text{ord}('a')) \), and similarly for uppercase letters with 'A' and 'Z'.

Your program should read the input string from standard input and output the transformed string to standard output.

inputFormat

The input consists of a single line containing a string S which can contain letters, digits, spaces, and punctuation.

outputFormat

Output a single line - the result of shifting each alphabetical character in S to the next character in the alphabet with wrap-around at 'z' and 'Z'.

## sample
abc
bcd