favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

# 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.

Time limit 1 second
Memory limit 128 MiB
Input example #1
abrakadabra

Output example #1
barbkbdbarb

Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"