5
10
ageafbd
afdbgae
adgafbe
baagfed
aedgbfa
daabegf
edfbgaa
abegdaf
afgaebd
fbagdea
10
fbgdac
adcgbf
dbgfca
fgdabc
cfbdga
gfacbd
dbgafc
cabfgd
gdabcf
gfcbda
10
baegd
agbed
bdgae
egbad
eagbd
eabdg
egbda
edabg
dbeag
edbag
10
abcd
adbc
cadb
bdca
dcba
bdac
dbac
cbad
dbca
acbd
10
bdgafcae
edbfcgaa
fcbagead
gabdcfea
ecafabgd
agfedcba
gfedaacb
gcbaeafd
dgaabecf
daefcbag
