Case # 1:
cba
cab
bca
bac
acb
abc
Case # 2:
ascii
ascii
asici
asiic
asici
asiic
acsii
acsii
acisi
aciis
acisi
aciis
aisci
aisic
aicsi
aicis
aiisc
aiics
aisci
aisic
aicsi
aicis
aiisc
aiics
sacii
sacii
saici
saiic
saici
saiic
scaii
scaii
sciai
sciia
sciai
sciia
siaci
siaic
sicai
sicia
siiac
siica
siaci
siaic
sicai
sicia
siiac
siica
casii
casii
caisi
caiis
caisi
caiis
csaii
csaii
csiai
csiia
csiai
csiia
ciasi
ciais
cisai
cisia
ciias
ciisa
ciasi
ciais
cisai
cisia
ciias
ciisa
iasci
iasic
iacsi
iacis
iaisc
iaics
isaci
isaic
iscai
iscia
isiac
isica
icasi
icais
icsai
icsia
icias
icisa
iiasc
iiacs
iisac
iisca
iicas
iicsa
iasci
iasic
iacsi
iacis
iaisc
iaics
isaci
isaic
iscai
iscia
isiac
isica
icasi
icais
icsai
icsia
icias
icisa
iiasc
iiacs
iisac
iisca
iicas
iicsa
Case # 3:
java
jaav
jvaa
jvaa
jaav
java
ajva
ajav
avja
avaj
aajv
aavj
vjaa
vjaa
vaja
vaaj
vaja
vaaj
ajav
ajva
aajv
aavj
avja
avaj
Case # 4:
test
tets
tset
tste
ttes
ttse
etst
etts
estt
estt
etts
etst
stet
stte
sett
sett
stte
stet
ttes
ttse
tets
test
tste
tset
Case # 5:
for
fro
ofr
orf
rfo
rof
Case # 6:
*/+-
*/-+
*+/-
*+-/
*-/+
*-+/
/*+-
/*-+
/+*-
/+-*
/-*+
/-+*
+*/-
+*-/
+/*-
+/-*
+-*/
+-/*
-*/+
-*+/
-/*+
-/+*
-+*/
-+/*
Case # 7:
}@$&
}@&$
}$@&
}$&@
}&@$
}&$@
@}$&
@}&$
@$}&
@$&}
@&}$
@&$}
$}@&
$}&@
$@}&
$@&}
$&}@
$&@}
&}@$
&}$@
&@}$
&@$}
&$}@
&$@}
Case # 8:
ok
ko
Case # 9:
yes
yse
eys
esy
sye
sey
Case # 10:
Hi
iH
