Competitions
Week 6: December 14 - 20. Char arrays 1
Character replacement
In a string of Latin letters and spaces, replace all letters a with letter b and vice versa.
Input
One string that contains Latin letters and spaces.
Output
Print the updated string.
Input example #1
abrakadabra
Output example #1
barbkbdbarb