AB
B
-A
B
B
-
A
A
BBUB
B
A
BUB
BB
B
A
A

BA