#C3049. Shift Sentence

    ID: 46433 Type: Default 1000ms 256MiB

Shift Sentence

Shift Sentence

In this problem, you are given a sentence consisting of letters, digits, punctuation, and spaces. Your task is to shift each alphabetical character to its succeeding character in the English alphabet. Specifically, if the character is zz or ZZ, it should wrap around to aa or AA, respectively. All other characters, including spaces, punctuation, and digits, must remain unchanged.

For example, if the input is "Hello, World!", the output should be "Ifmmp, Xpsme!".

inputFormat

A single line string representing the sentence to be shifted. The input is provided via standard input (stdin).

outputFormat

A single line string representing the shifted sentence, printed to standard output (stdout).## sample

Hello, World!
Ifmmp, Xpsme!