abc
acb
cab
cba
efg
agf
fge
feg