There should be a space between every A and B.

B
A
B A
B