Letter substitution
Problem
Enter a character string from the keyboard and replace all letters in it with «a
» to "b
" and all the letters "b
" to "a
" (uppercase to uppercase, lowercase to lowercase).
Input
The first line is a string without spaces.
Imprint
You need to output the modified string.
Examples
# |
Input |
Output |
1 |
aabbAABBccCC
|
bbaaBBAAccCC |