eolymp
bolt
Try our new interface for solving problems
Problems

Previous and next letter

Previous and next letter

A letter of the English alphabet is given. Print its previous and next letter. \InputFile One letter $с~('A' < c < 'Z'$ or $'a' < c < 'z')$ of the English alphabet (lowercase or uppercase). \OutputFile Print the letter before $c$, followed by the letter after $c$ in the English alphabet (lowercase or uppercase, respectively).
Time limit 1 second
Memory limit 128 MiB
Input example #1
D
Output example #1
C E
Input example #2
x
Output example #2
w y