A
B
= AB
a
tail
head