A lowercase string $S$ and two single characters $A$, $B$ are given (one per line). Print $S$ with every occurrence of $A$ replaced by $B$.
Input
Line 1: $S$ (lowercase, length 1 to 100). Line 2: $A$. Line 3: $B$.
Output
Print $S$ after replacing all $A$ with $B$.
Example 1
Input
banana a o
Output
bonono
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.