a b e a
b b b d
c a b f