#C12794. Shift Characters in a String

    ID: 42260 Type: Default 1000ms 256MiB

Shift Characters in a String

Shift Characters in a String

You are given a string that may contain alphabets, digits, punctuation, and other symbols. Your task is to produce a new string where every alphabetical character is replaced by the next character in the alphabet. The transformation is applied separately on lowercase and uppercase letters, and the sequence wraps around (i.e. 'z' becomes 'a' and 'Z' becomes 'A'). Non-alphabetical characters remain unchanged.

For example, if the input is abcdef, the output should be bcdefg. Similarly, an input of XYZ! should produce YZA!. This problem tests your ability to manipulate characters and handle edge cases such as wrap-around behavior for the alphabet.

Note: The processing should only affect letters from the English alphabet. All other characters must be output without change.

inputFormat

The input consists of a single line containing a string s which may include letters, digits, punctuation, and whitespace.

You should read the input from standard input (stdin).

outputFormat

Output a single line which is the transformed string, where every alphabetical character in the input string is replaced by the next character in the alphabet, using wrap-around if necessary. The output should be written to standard output (stdout).

## sample
abcdef
bcdefg