AB
B
-
B
-A
B

B
B
-
A
A
BUB
B
A
B
B
BA