From A to B

Mirror and change this text block

Input

A.a.A.A.A
A.A.a.A.A
A.A.A.a.A

Output

BBBbB
BBbBB
BbBBB