#C12049. Shift Characters
Shift Characters
Shift Characters
You are given a string (s). Your task is to produce a new string where each alphabetical character in (s) is replaced by the character with the next ASCII value, while non-alphabetical characters remain unchanged. In other words, for every character (c) in (s), if (c) is a letter, it is replaced by (\text{chr}(\text{ord}(c)+1)); otherwise, it stays the same. For example, if (s = "abc"), the output should be ( "bcd" ). Note that the case (upper or lower) of the letters must be preserved.
inputFormat
The input consists of a single line containing the string (s). The string may include letters, digits, and special characters.
outputFormat
Output a single line containing the transformed string after shifting each alphabetical character to its next ASCII value.## sample
abc
bcd