QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#642845#6618. Encoded Strings IIInaba00AC ✓584ms186012kbC++141.8kb2024-10-15 16:34:092024-10-15 16:34:12

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 28252kb

input:

4
aacc

output:

bbaa

result:

ok single line: 'bbaa'

Test #2:

score: 0
Accepted
time: 5ms
memory: 29224kb

input:

4
acac

output:

bba

result:

ok single line: 'bba'

Test #3:

score: 0
Accepted
time: 4ms
memory: 29008kb

input:

1
t

output:

a

result:

ok single line: 'a'

Test #4:

score: 0
Accepted
time: 3ms
memory: 29204kb

input:

12
bcabcabcbcbb

output:

ccbbaa

result:

ok single line: 'ccbbaa'

Test #5:

score: 0
Accepted
time: 0ms
memory: 28664kb

input:

1000
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

result:

ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #6:

score: 0
Accepted
time: 3ms
memory: 29312kb

input:

1000
ggkkkggggggkgggkgkgkkkkkggkkkgggkgkgggkkgkkgkgkgkgkgggkgkkkkgkgkkgkggkgggkgggkgkkgggggkkgkgkkkkgkkkkkkgkkggkkkkggkkkgkgggkggkkgkkgkgggkkggggkkggggkggkkggkgkgkgkkkgkkgkgkkgkkgkgkggkgggkgkkkgkkkgkkggkkggkkgkgkgkkkkkgkkggkgggkkkkgggkggkgggkkkgkkkkggggkkggkkkkgkkggkkkkkkgkgggkkkkkgggggggkgggkkkggkg...

output:

bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

result:

ok single line: 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...bbbbbbbbbbbbbbbbbbbbbbbbbbbbbaa'

Test #7:

score: 0
Accepted
time: 0ms
memory: 30252kb

input:

1000
edbbbbedddbeebedeedbddebddddbedbbdddeddeeddeebdedbbbdedddeeddbdddbbebbbdbeddbbbbbdeedebdddbbbebebbbdebebbeebbeeddddebdbdedbedddeebedebbddbededbdeebbbbbdbebddbebdbddebbddddbdeebbbddddbedddbedbeebdeeebdedbdededdbdebbedbbbeedbbedebddebbeebddebbebbdebeebddbdeddbdebdebebbdbebdddedbbdbedbbdbebbbddddd...

output:

cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...

result:

ok single line: 'cccccccccccccccccccccccccccccc...ccccccccccccccccccccccccccbbbaa'

Test #8:

score: 0
Accepted
time: 2ms
memory: 30208kb

input:

1000
hhqjhgqqjhqhqhgggqhgqghhjjgjjqqqhhjhhjqqjqqjqqhghghjhqhghhqhgjgjhqhjjjqjqgjgjgqhqqgjgqghgqjjhqjjgqghjqjhqjhghhghgqjqjhggjjhhjjqhqgqhjjhqqjqjghjjhjhqghqggjqjqjghjqhqjqgjqqjjqjjhjjqghqjjhhjhghhjggqqjjqgjqgqjhqhjqhjqqgjqhghghhjqqhhhjhjjgjjgjqgjqqqggjggqhqgjhqhqqgggqqhqqqjhqgjghhhqgghqqjgjhjqjhhqgh...

output:

ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddccbbbaaa

result:

ok single line: 'dddddddddddddddddddddddddddddd...dddddddddddddddddddddddccbbbaaa'

Test #9:

score: 0
Accepted
time: 0ms
memory: 28428kb

input:

1000
cceooojojcecesjojsssesjojccoecceoojecsscojsosoccojscjcjssococjscssosecooeejoosojeecjceoeeojcocosjcecocoesjceejjecssjejccjsjosjsjcjesjojcojocjjeooeccojjosjcjjcjoecseecsjccojcoessecejcocosecsojeoceejeccejeoosssscecjcssooojoseeccosocoeejjecsjeoecejsoojessoescecjjsscecoccjsjsscccssjoeejsscoesecssco...

output:

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeddccbaaa

result:

ok single line: 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee...eeeeeeeeeeeeeeeeeeeeeeeddccbaaa'

Test #10:

score: 0
Accepted
time: 3ms
memory: 29004kb

input:

1000
mmmfqfmpqrccmqfcrprpfppcpcffqcrcrcqmmmqmrfmrpqffppcmqpqqrfqqcffpmqqfmcmpmcfcqcffqmrmqrmmqmffpqqpfqrcppmmpmrqffmfcfffqmrprfcpfqffrrrmcqmpfmpfmprmcrrqqrmcrcmpcffmpfcprmcpmcfmpcfprrqrpcqccpcmmqcqqfmrcrrqrqcmcpqcrcqcrrpmpmfccqcffrrfmpfqqmqcpmfpmqpcmqpmfqpffmqpcrmcmqrqfqqcrfffcfqprcprrmfppfpqqmmrcmc...

output:

ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeeeeddcbaa

result:

ok single line: 'ffffffffffffffffffffffffffffff...fffffffffffffffffffffeeeeddcbaa'

Test #11:

score: 0
Accepted
time: 0ms
memory: 28540kb

input:

1000
hljikoiljhkhhikjihlhokhjnjlijjhkhinohnioklilhonihliiiohllkniiokjiihkokkkhnijkkkijnnjljoihiljlnjhllnjlhojnjojnnjhllilnnoloiijioiohkononkijhniihjiinononokjjokljjkinonhkojknohijhlilhjjlhkhjoonojlknjnljniklohinhinnnkhnkljjknkjhhlhlkllihhihnlkjklhokkihlhlikjhkjokhkniooljkojjiiljjjnojkiojnkniljnkoljn...

output:

ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggfeedccccbaa

result:

ok single line: 'gggggggggggggggggggggggggggggg...ggggggggggggggggggggfeedccccbaa'

Test #12:

score: 0
Accepted
time: 0ms
memory: 29408kb

input:

1000
cbpfmafbflfblamcccmcbbfqqfpbaaqfpccqqbqfcabmlbbmfqcpfqmcpqcfffacqbpbllappmbmcfpqqfqlcbcaclbbfqmqfqlammbcqblbccqcpabapcbbfcmpfcmmcpccbcbcfblfclmflpfaqppqbfppfpacmfqqafcmlmbqcbbfqaqffpafcbcqfpqmpcabfmcqcqpblfccmffplcbbaamcallbblmbcmammaablfmbfqqlcqacpqfaqpfcbamamcqcmqqffqfcbcffmabcfplabbmfqcampqc...

output:

hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhgggfedcba

result:

ok single line: 'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...hhhhhhhhhhhhhhhhhhhhhhgggfedcba'

Test #13:

score: 0
Accepted
time: 0ms
memory: 29532kb

input:

1000
oikrbsjdjjsrcdbroobidjojkdjikbirccicdiicbskkciijkssjirjokcjosbbkcdkbrdroirsooiibsjokircbkjbrbkoobkrddcbossoskosbiksodsjkkocoricjkdscdickjdisiddbsdiikdisdcjdkddscdjjrkkddjbbbdidkidddijbibdisbicjokodrcbjkkcrokiciijssjjbscrssccckdjdirbbcocjkobrijssijjcjrcskdobrjcscbocoobdocobrorosiidoscrijjorsrirk...

output:

iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiihgfeedcba

result:

ok single line: 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiii...iiiiiiiiiiiiiiiiiiiiiihgfeedcba'

Test #14:

score: 0
Accepted
time: 0ms
memory: 29880kb

input:

1000
cmctnhnrhchdnnaitttiirathamrkhtahnmrttkrhdimhatrttatrtmkiminahadihkdkrdthrkrhiandtmhtrdtiinicrmmirinnarkanadnhaatkkakarirnahrtcndarniihkdnddkhitkmdrtarhinirccaitdccnncnmnanhmtrdthkrmakdkktnimictdanrcmrhtcakmcmnahcrahkhtmadmhkrriinakkrhhddmnaknacchtacaktdnmaihnhcmtcchrdmihritatkactmmhattcrkknnkr...

output:

jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjiiihhhhgggfeeedccbaa

result:

ok single line: 'jjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...jjjjjjjjjjjiiihhhhgggfeeedccbaa'

Test #15:

score: 0
Accepted
time: 5ms
memory: 28892kb

input:

1000
bcqeheddhchrddimchmikdfsmimikchdmmbreskiqfbikcdfhhmfbmqrmsibihciqqqsefmebmrbmcedhmdkmiqbdhsmkcqkifmiddhfieqersmksfiidqesisffhhrsbkiddbkbksrchchccifqkciidibqssihmmfrmfbeffhhqdbhmmdsisqkhqmhsmhckbccfreihdreiqqfcdsfffdbhsicbqfirhhchemfihedrbbkekhsfcccfmmieqfrrimsfddbqmkemciqfqrfbsresbhsiceffebfkfd...

output:

llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllkkkkkkjjihgggfedcba

result:

ok single line: 'llllllllllllllllllllllllllllll...llllllllllllkkkkkkjjihgggfedcba'

Test #16:

score: 0
Accepted
time: 7ms
memory: 30988kb

input:

1000
pdipkeekpamgdiiafeigfaaoktngfpmkggmkdmaicekcoggpattofngagapfaifodftdmkfoctpdkkomkttgpotdggeeonkdieocdcdnffiittompaopieonamnpiigienpenieaigfiieaeiiftmpkaaegopdeamatngamagapfnppkgciptpnmpcmiagfdoaiemftddddenikaiidmmdopfapgnmefdidgdkegofmeofnetktinipopkfdpkikcodtkapngefetkaffgppkkieikmfadottcceipk...

output:

mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmlllkjjjjiiihggfedcba

result:

ok single line: 'mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...mmmmmmmmmmmlllkjjjjiiihggfedcba'

Test #17:

score: 0
Accepted
time: 6ms
memory: 30212kb

input:

1000
redfdnprmcbbhfdlmepnolpfotdhlrrlbedeccnrdblprfbdptohmbldthoorcrnceelhochsrppfbotmlchhsftlemfhbcnpdltofescnhmdhombpcddpscfhnmrnordbehnpdlrbbbfcdsoohpbhtcpsrhffobpehhdtmfcmmsbnpcedtmpfcpfporehfbfbotcpbeobnlednofedbpldcrosfcfnplnhbdlohfedrpsosmrpedenpfrrnsbehslloeldemsoeenfrsssppldtnfelrlboepptlpo...

output:

nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmllkkjjihhhhgfeeeeddcba

result:

ok single line: 'nnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...nnnnnnnmmllkkjjihhhhgfeeeeddcba'

Test #18:

score: 0
Accepted
time: 16ms
memory: 32600kb

input:

1000
hegsdmeapjipglsnfmianparlaersaragrlepapooflllgnsiggjdjdpraslojdfdaaesfpllhnihselidejrgrfmmaldfnrejophlanehrdsjrrsidomemhmeafrgrrajrrfrjjgpfmgsprifnolfglhmnfapljamsldgrfsomopfedsegdadmojparrssjpfsfaporljfhsfhhgrnilmhdlppoldhaomrjprnfirlmnnhfseofjenrohflfndfiimmsirjopeeipafhphogsafrngjjiprnifeila...

output:

oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooonnmllkjjiihhggfedcbbbba

result:

ok single line: 'oooooooooooooooooooooooooooooo...oooooooonnmllkjjiihhggfedcbbbba'

Test #19:

score: 0
Accepted
time: 23ms
memory: 38288kb

input:

1000
dgenmltemgsnbimnhicfomcbbliddfhllohldnthotglfeoobtohilblglibclhdlmmfgseslgseiimkhhbflfekildtgllfdkjolnilbtscnfjklfidbknhlljkokodbtmoccbiigicgnfdfbhktcomilkbijisdhmjcmgbkomojjfmdnjltbmnnsbslbtflkkbsofehhnndmjtifsisggeocdbtolimtnlhcoekedjsnhoobbjnhihbbtkomnjomiskfobilkjkbocdmhnffglfogtosndsitecdf...

output:

pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppoooonnnmmllkkjjihhgfedcbbbaa

result:

ok single line: 'pppppppppppppppppppppppppppppp...pppoooonnnmmllkkjjihhgfedcbbbaa'

Test #20:

score: 0
Accepted
time: 45ms
memory: 45980kb

input:

1000
chkkcqdcggjsjadhtrjqgntecdhgrsqsbkqqqsodfkfcblqntsjrjnfcteghkafgjqtaaabdddakcbnabaqtoqdkogfgqaebrsdcdqkadkeqoleknokgfhshkqdhhsjddatblonnlnkllordrbgjjsjdedhlgsdsodcbcbojaehanhqetgnasocghtcrdbqdclegfscnqcelofffckefedohhadlhhnadnffbkreeletoknrrhrffrogrcgghaeglcefhbaaefggaabohttrstfgfqgcnnbeqjdklqr...

output:

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppooonnmmlkjiihgffedcba

result:

ok single line: 'qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...qqqqqqqpppooonnmmlkjiihgffedcba'

Test #21:

score: 0
Accepted
time: 107ms
memory: 64216kb

input:

1000
mmimrctldielpadeocgmaifcafkhjccnaktgmsejehgcoialclsopnrokmamnahangmhfmgcrmlatislecsgiaaarkpssscshtcrncptsoijirnogggititpohtgcaegdaaeoegmioridoggttsorppehjhiondejafeanspotcngepscflcseeikasopdmdthgnasdnfedkookrnkjcsinkejkiskasoecnlnkigrdfktopfcoehlsednknimtshljrdlnnainrfskmddegerildgcnkmfoapefalm...

output:

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqponnmmlkjihgfedcba

result:

ok single line: 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...rrrrrrrqqqqqqponnmmlkjihgfedcba'

Test #22:

score: 0
Accepted
time: 258ms
memory: 104048kb

input:

1000
qdjplrlfkgqbnncnglcfdijiifboesenqmfjilnqrppabmntsgdefcjrkotiejacrdmqqoegtspofdejngqmddjatlfakscdcfdfjfrqkfllmoteldgnirkmpmbjfpkkiblsnjsqjijposifejtoliolrfionfiirqrdojcfqipraenpfeqfqcegkfctssmrrbdjkkrbctqiqejsfsqcgdnoaelcfaslegtrcefleqqjbtgjpbjrdqtmajcfgotetrkeeoqptnsbkgoaedsqorniralmeklcigocfal...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrqqqqqqppoonnmlllkkjihgfedcba

result:

ok single line: 'ssssssssssssssssssssssssssssss...srrqqqqqqppoonnmlllkkjihgfedcba'

Test #23:

score: 0
Accepted
time: 549ms
memory: 184672kb

input:

1000
opaqmbjhoctlnmefoocaqnqtecgbnirdjjhqkhiftktbslrpbacpjbrbreapkptlrcpjqpfobtiiqqtjpsrpitbljanmfdfbhldlplsniffflegrtckqjdarlhleffsalnjgmfrpasfgatgfffraheohidlolipksnskjjfaihidesjnlasitccjbbhpheglpdertnqqlgsfafikpneglbokpfaejipaeolmdrinnafpntfichatljgiqlaqhfmsmggdohcncpihiinqbssjnaleiripnbgllhcnnha...

output:

ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsrrqpppoonmmllkkjihgfeeedcba

result:

ok single line: 'tttttttttttttttttttttttttttttt...tttsrrqpppoonmmllkkjihgfeeedcba'

Test #24:

score: 0
Accepted
time: 261ms
memory: 104260kb

input:

1000
bqttoirtmimqqjmmjojtinijhgiaaemjmajjnnjimianoqnnsmtoajocqtmmjqojjnojmomjntqimcnohijrtgantmjmmenqtmjphcggqiqofmqndfhthcetqgdjjohanctqimjetmtronheoidtnbgggggmnjsegeoejcigercqonlaajpimihnebjdnocimircginqqghaipimqhtqgstaiieethjcmcqsnojcagpedcebjqojoebineajamnoghnocamntqejgiajdihmogtogtsnsrbcgotqiti...

output:

sssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrqqpooooooooooooooooooooooonnmlllllllllllkjjjiihgfeeeedcccba

result:

ok single line: 'ssssssssssssssssssssssssssssss...mlllllllllllkjjjiihgfeeeedcccba'

Test #25:

score: 0
Accepted
time: 254ms
memory: 104592kb

input:

1000
obdscoicccodscbddboscsddsbdsicihdidcdccbbbccobsccsbsaapbioobbbmcssssdobssmobhhhsbcdsssmdbsgddsshnbcoaccbampsiiibodocmcsmoobicmmjabmcccpboibhoodsohbssssbddsmcdddcbpsdhcsaccdmdspcdsicassbosbsobbsaocdccshsbsoihodoqdscbbhdshddcbobpfmjcbcobjmjccqohdhaidgscspoimmbhccccdhsmiophgscqnbfbodcbddospbsosbdd...

output:

sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrqqpooooooonmmmmmmmmmmmmmllkjjjjjiihggfffeddddcbbbbbaaaa

result:

ok single line: 'ssssssssssssssssssssssssssssss...llkjjjjjiihggfffeddddcbbbbbaaaa'

Test #26:

score: 0
Accepted
time: 246ms
memory: 103444kb

input:

1000
ddapcpcdaaddadaadcdddkaddadkcdapdadtdcccdkdddacbddcddddaahhdaddddckddkdpddddfpcdddccahcadhaapdacddcppcchdcddddadpacccapdddaaadhcdcddadacddcchaadddkkdeaecdcadbkdkhccdpadpkkdaddddcdacbdcddtapaphapdckcdcdcappahcdpahccbcarhcpcaadcbpcakkappahpdtpdddadcccptkddbaaphtpkkddoddaaachddapchbhdddkhtcocdadpk...

output:

sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrqqqpponnnnmllkkkkkkkkkkkkkkkkkkjiiiiiiiiiiihgggggggggggggggggggggggggggggggfeeddddcbba

result:

ok single line: 'ssssssssssssssssssssssssssssss...ggggggggggggggggggggfeeddddcbba'

Test #27:

score: 0
Accepted
time: 231ms
memory: 97340kb

input:

1000
oooookooonnoonooonooonoonoonnoooooonlnnooonnonooknokoonknoononkooooooonooonooooooonoookooonnokoonkknnonnononoooooonnoonoooonoonnonoonnnonnoknloookooooononoooookkonknonknonooooonnojnookonoknonojnojokoonoononnonoooonojnnnnnojoonjoonjoknoooooodnnonodnoonooonoooojoojnoonojokloojnnoookooojojooonnooo...

output:

sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrqqppppoonmmmmmlkjjihgggggfeeeeeedccccccccccccccccccccccccccccccccccccccc...

result:

ok single line: 'ssssssssssssssssssssssssssssss...cccccccccccccccccccccccccccccba'

Test #28:

score: 0
Accepted
time: 240ms
memory: 96272kb

input:

1000
rrrrrprrrrrrrrrrrrrrrrrrrrrrrrrrrrprrrprrrrrrrrrprrrrrrrrrrarrrrrrrrrprrrrrrrrrrrrprrrrrrrrprrrprrrrrrrrrrrrrrrrprrrrrrprrrrrrrprrrrrrrprprrpprrrrrrrrrrrrrrrrrrrrrrrrrrpprrprrrprrrrrprrrrrprrrppprrrrrrrrrrrrrrrrprarprrrrrrrrrrrarrrgrrrrrrprrrrrprrrrrprrrrrrrrrpaprrrrrrrprrraprprrrrrarrrrrrprrrr...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...

result:

ok single line: 'ssssssssssssssssssssssssssssss...nnmmlkjihhhhhhhhgffffedddcbbbaa'

Test #29:

score: 0
Accepted
time: 243ms
memory: 103316kb

input:

1000
kjqfkgkbrigotcjqfnpdthairikbbnmghtfmlklontrdtrcbhiojmmjchkfdqjnjoobgnmicqrogbpooaihcmqkaokamhkdrecfopijirfnogekhootgbctgimlqddigjpfgllfnmmthbqpmmmdqdtattgjlgtltmpijipqrbpbqjjktllrhlrigaohbmjadrnfmhgkbtftghfkfrdbkqncfbdfcbiiddidtnamemcbctdblcdnbcjfkqbckddtfrklrckaecdbdbctfjicfbrkfdonlodbtcladrni...

output:

ssssssssssssssrrrqqqqqqqqqqqqqqqqqqqqqqqqppponnnnnnnnnnnnnnnnnnnnnnnnnmllllllllllllkjjjjjjihhhhhhhhhgffeeeeddcbba

result:

ok single line: 'ssssssssssssssrrrqqqqqqqqqqqqq...lkjjjjjjihhhhhhhhhgffeeeeddcbba'

Test #30:

score: 0
Accepted
time: 230ms
memory: 103436kb

input:

1000
elirfetpqjlntsotkoqefjjqqdgggghhrsnqmbiehrqqjrppkqgolgqnbdkmbgmbseijrfttkddnljfqnbdeddnpqdtbiifkhhqcfftcptetokfdsotcrqspddnsfpobfgesqjrckroppqertncisqqfolkkqisoppceitrppikkctmkeqjkombgorssqlfrjdfrtdckpciotqptipssoeossskqqkcptfjssrsppskcpoptfrrqbkprkpirotossicqsipfpqoqpbifqirisqqkrlkoroopfpksfcq...

output:

sssssssssssrrqqqqqppponnnnnnmlkkkkkkkkkkkkkkjjjihhhhhhhhhhhhhhhhhhgffffffffffedccccccccbaa

result:

ok single line: 'sssssssssssrrqqqqqppponnnnnnml...hhhhhhhgffffffffffedccccccccbaa'

Test #31:

score: 0
Accepted
time: 258ms
memory: 101568kb

input:

1000
rkkpormjggsrsfngapgporssflihsjgffktpqemoaenhmajblkqfihnghojtkoqnoleefiofrfemagcncphchostjsjaioaahmpnoohhfoofgnhinohjommagfmamofhlahajhlhnahaohfeafehfhhmiojjfhnjoaofcanhfifiaoofflmcfohhffnjajhmmfahfohhhofamahfoaomahmhjfahhheacahjoonmanejanoeffhoaofjfefjjhaafocfnjfaamffaoehaofohfhaahfjhmohnhnhjha...

output:

sssssrrqqpoonmmlkkkjiiihggggggfeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedccccccbaa

result:

ok single line: 'sssssrrqqpoonmmlkkkjiiihgggggg...eeeeeeeeeeeeeeeeeeeeedccccccbaa'

Test #32:

score: 0
Accepted
time: 22ms
memory: 34828kb

input:

1000
pophnfbpnekenictgplfbklgbbbdchfcapbkdqhfcnlhggcnkbqbfdggaqclcnggppbllbgdqqnnccnclcgbcccqnkcncdccqcchnnngkgngccgpclnncknhcnccqccbnhqgcngggccccggncnnncncnbnnnqngnnchcnnnnclcncqqccqqnqccnccclghcnccnccccccccckcgqncccccnnccgggqccggnncnkncccccnncncccnccccnnccccclnncnncccgccgcccncccgcnnnqccccgnqcqccng...

output:

poonnmlkkkkkkkjiihgggggggggggfeeeeeeeeeeeeeeeeeeeeeeeeeeeeedcccccba

result:

ok single line: 'poonnmlkkkkkkkjiihgggggggggggf...eeeeeeeeeeeeeeeeeeeeeeedcccccba'

Test #33:

score: 0
Accepted
time: 3ms
memory: 30436kb

input:

1000
ibiltjgtsjfppnfrogikrpknhfppkgonfkfkghrphbnnppskppnpnnnpppnrrpponpnrnrrpknpkkrkrppprprprpokprpprrphkpprrpprpnrpkrpsrkpppppprnpprpppprnppppnnsrpkpppprpppprppnpnrppkpprhrprpppprrprhrrnpprrpppppppnprpppnnhpppppppprpnppprrrppppppppnppppppppppppppprppppnpppprpppppppprpnprprpppppppprrppnpppprpppprppp...

output:

nnmllkjjjjjiihggfeeeeeeeeeeedddddcbbbba

result:

ok single line: 'nnmllkjjjjjiihggfeeeeeeeeeeedddddcbbbba'

Test #34:

score: 0
Accepted
time: 242ms
memory: 71028kb

input:

1000
llllllllllllllllllllllllllllllllllllllllllllllrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmpppppppppppppppppppppppppppppppppppppppppppppppppppppiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

ssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...

result:

ok single line: 'ssssssssssssssssssssssssssssss...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #35:

score: 0
Accepted
time: 231ms
memory: 72968kb

input:

1000
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqccccccccccccccccccccccccccccccccccccccccccccccccbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrlllllllllllllllllllllllllllllllllllllllllllllllllllllllppppppppppppppppppppppppppp...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...

result:

ok single line: 'ssssssssssssssssssssssssssssss...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #36:

score: 0
Accepted
time: 231ms
memory: 71916kb

input:

1000
dddddddddddddddddddddddddddddddddddddddddddddddddddtttttttttttttttttttttttttttttttttttttttttttttttttttqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqeeeeeeeeeeeeeeeeeeeereeeeeeeeeeeeeeeggggggggggggggggggggggggggggggggggggggggggggggggggggrrrrrrrrrrerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrppppp...

output:

sssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppppppppoooooooooonmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmllllllllllllllllllllllllllll...

result:

ok single line: 'ssssssssssssssssssssssssssssss...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #37:

score: 0
Accepted
time: 234ms
memory: 89208kb

input:

1000
ffffffffffffffffffffffflffffffffffffffffffffffffffffrfffffcccccccccccccccccccccccccccccccccccccccccccccccccciiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiibbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbddddddddddddddddddddddddddddddddddddddddddddddddddddggggggggggggggggggggggggggggg...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppppppppppoooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...

result:

ok single line: 'ssssssssssssssssssssssssssssss...cccccccccccccccccccbbbbbbbbbbba'

Test #38:

score: 0
Accepted
time: 257ms
memory: 91912kb

input:

1000
hhhhhhhhmhhhhhhhhhhhhhhahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkfflfffffffffffffffffffffffffffffffffffpffffggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeeeqeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeepppppppppppppppppppppppppppppppppppppppfpppp...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...

result:

ok single line: 'ssssssssssssssssssssssssssssss...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #39:

score: 0
Accepted
time: 248ms
memory: 103000kb

input:

1000
rrrrrrrrrrrrrrrkrrrrrrtrrrrrrrrrorrrrrrrrrarrrrorrrooootoooooooooooorooomoooookooroooooooooooooosssssssssssssssssssssssssssssssssssssssgssssssssssssssssssssssssfffffeffffffffffffffffffffffffffffftttttttttttttttttttttttttttttttrttttttttttttttttttttttttttbtttojjjjjjcjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...

output:

sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppppoooooooooooooooooooooooooooooooonmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...

result:

ok single line: 'ssssssssssssssssssssssssssssss...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #40:

score: 0
Accepted
time: 242ms
memory: 104516kb

input:

1000
ssssessssslomsssssssgssksssstsssssssssssssssssssseeeeeeeetseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeoelneeeeeemeeeeeeeeoaaaaamaaagaaaaaaaaaaaaaaaaaaaaadaaaaataaaaaaaaaaaagilgggggggggggagggggggggggggggggggggdggggsggggggoooooooooiooeooooeooosoomoooooooooooooooooooooooooopomoooobtltrtttttmstttttttntttt...

output:

sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppponnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmmmmmlkjjjjjjjjjjjjjjjjjjjjjjjjjjjjihgggfedccccccccccccc...

result:

ok single line: 'ssssssssssssssssssssssssssssss...gggfedcccccccccccccccccccccccba'

Test #41:

score: 0
Accepted
time: 237ms
memory: 103440kb

input:

1000
qmqqqqqqqqqqboqqcqqqqqqqqaqqpqqcqqqqqqqqqqqqqtqiqqqqqqqqqqqkqqqqqpppseeelieeereteeeeeeeeseeeseeeeeeeeeeeeccccccaccqcccccccctcccccccccccqccccccckcccfasclccccdffffffffffffkfffsfifaffrffffffffffffmftattttbtqtttlbhtttttttttttttttttttkattttttttttttqttttgagggggdgggggggggggggggggggggggggggggggggggggmg...

output:

sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqpooooooooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnmllllllllllllllllkjihhhhhhhhhhhhhhhhhhhhhhhhgfffffffffffffffffedcba

result:

ok single line: 'ssssssssssssssssssssssssssssss...hhhhhhhhgfffffffffffffffffedcba'

Test #42:

score: 0
Accepted
time: 247ms
memory: 103184kb

input:

1000
nhnnnqnnnnnhnnnnndnnlnennnnnmdninnqnnnnnnninnecnhhhhhhhhkcthhhhhnihhhmhhhhnhphqhhhehhhhhhhbhhhsedhhqhhhchllllllijllmblppllllbtqqpjblllqllllllrllltlllllglllblljlklagakahcaeanaaaaaaaaaaagaagalgbaeafaaaigaaamaaaaataaaadiddddddhdnddddddsdddceddkddpmddidmbsdtdcbmdiddddsdddqiqqqeqqqqqqqjqlqnmqnqijqql...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrqppppppppppppppppppppppponnmmmmmmmmmmlkkjjihhhhhhhhhgfedcbaa

result:

ok single line: 'ssssssssssssssssssssssssssssss...mmmmmmmmlkkjjihhhhhhhhhgfedcbaa'

Test #43:

score: 0
Accepted
time: 242ms
memory: 104504kb

input:

1000
ncnnmnnirhhdnnngnnqdhnknpnnjkfqnnimahkrftindknhmapnnqissgssdgnstlssdmsbssknsgcpqbsississlohmgsifnppqcjasppkpsspaqppfpfopqpppppsfpbnppdfprcppnpcrbpppnrqpptcooorcoooiobogoooponohookiaiolalstojooomoaccocjgfjkdfkjjpjjjsjgsgjtjjkfjtmjcjlskjrdmfjjftjmhjtdpdildkdpkdoddmddcdrdddkpdfdafidkjdddpjnidbhrdt...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrqppppppoonmmlkjihhhgfedcba

result:

ok single line: 'ssssssssssssssssssssssssssssss...ssrrrqppppppoonmmlkjihhhgfedcba'

Test #44:

score: 0
Accepted
time: 254ms
memory: 104236kb

input:

1000
rgrnmmqajgjjgmpbbgqagpghdtttbercqgfhogpigaqrprehlgaoaanctmqeaorqgnnqndtqabnnbenfcannecnahtaslntepaphdoondcbnicdopbrgjcbbiqbedijgrqgrdnrpnpbambbtrlpegjhdpqeqcpqblmlppbtfnnchhrpaqoteedaaerrnpjipsprsnrbagpogqicdosdqofbcmsjtjoooftfmmmmfmnsoaojoldqonopqamohaioophhohhaohhebmosibgaephnthniehmhiihjrjtf...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrqppppoonmmlkjihgfedcba

result:

ok single line: 'ssssssssssssssssssssssssssssss...sssssssrrqppppoonmmlkjihgfedcba'

Test #45:

score: 0
Accepted
time: 235ms
memory: 104596kb

input:

1000
ehrblhrmhoqcleahbjjqtoqrbbmatbjtmelrahecorcenqspotberdkkrlomdkqfccdfooepjlicltjhjhlhekifqafjcskbfqnnipdiqtckplidriibehbekqokifmshkknmnpdlfmlfndlfcrpfpadslmoatbsjjcobbbmitbehndilsqseepdkaqipdbijbpqjfqleqkjhmomrscsoofmjplqspjkekkppfjsapfnqkmilicocilcqnenidjhmjnlikdtjcmierhiocrhfmfcebepcqnjkkjffoi...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrqqqpoooonmmmlkkjihhgfedcba

result:

ok single line: 'ssssssssssssssssssssssssssssss...sssrrqqqpoooonmmmlkkjihhgfedcba'

Test #46:

score: 0
Accepted
time: 241ms
memory: 104392kb

input:

1000
tgkikmnqbtgfboqodhndoacltpmbmfthtnadbitnbsnginnnmcoathosndddnmrsokhpcensobrqgglbihmbgffpasmdlqknckchpcbinpabtfefpqbfkfhglnnkcbepqbhcohiliilncfdcbglkehpnhencfsniirmrtiiriipmkpofctgfaalnireckepkosskqdkkinlsfiepnkskaoigkagtdmmokrmtasbaarfglmechlcairapitphomnhotomihgnrhatqdmkgchmilslbdgbcorhhamsqtd...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrqqpooonmlkkjiiihgfedcba

result:

ok single line: 'ssssssssssssssssssssssssssssss...sssssssrqqpooonmlkkjiiihgfedcba'

Test #47:

score: 0
Accepted
time: 239ms
memory: 103704kb

input:

1000
prfapiajrgrjanqobqkjgkokmajenhobtkkgkpldfqapofkbhaqkntfoklidamkcbaqpodoefladdlcgemnjeobhdehjadocfqhjnfnccbtipknaqcnfinjnoebfjmdnoqqkadfdngmqmaadolkfpltkaqhatmbbmrjpmqjmaofqjenoopbkppthrrmmimjdtkiclgflqglnrqakldppqhqmqdgmqrbqiqjjtkelltjejamagleqmtegceqcqhcikgrirocmdicodihdgdtnjahlciheqdfrcgpchoi...

output:

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrqqpooooooooonmlkjiihhgfedcbba

result:

ok single line: 'ssssssssssssssssssssssssssssss...rrqqpooooooooonmlkjiihhgfedcbba'

Test #48:

score: 0
Accepted
time: 544ms
memory: 184100kb

input:

1000
ihtnhaatmfnnjhmnflannfttfsjaiqmqjddqqrlfhmmjnmhqlthqmfhhftfiffftttmchnifohnhfmftrmadqhjdhtnffnmfjnctaccadamdqnmefdnhrchdqssihjnqmomrmlohnnqdlnmahatdahmhqffodnfttairantloriaqnqhnqmihasahdihnjnbcdrtndjqdlcqhbmajislhntiatttcfhfadcacolchfhfnmnanqajthfmjpqimihqqhkeocahrafhlfomffrftnnmtcfqrhntirhbceh...

output:

tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssssrqqqqqqqpooooonnmmlkjjjjjihgggggfedccba

result:

ok single line: 'tttttttttttttttttttttttttttttt...pooooonnmmlkjjjjjihgggggfedccba'

Test #49:

score: 0
Accepted
time: 536ms
memory: 185164kb

input:

1000
istacriaaimhkashicshismmsnihcnramchstiacniasscsricnchsccsiscssisacitassmnsakinsabhhctssfsiciaiaarsiisicissshcbqciaiknrscaaatnaarcmafsicmabialsncnacricsicakicciitnsicqanqaissthsbamismbaicmaantmmbairnrmhrcrcmhrisassmihcrnbnisfbirtgitbacrnhmbsasashmcmfccbminksammsspmnmmaiceabsitcttintqmacksbmaaias...

output:

ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttssssssrrrrrqpooooonmmmmmmmmmmmmmmmmmmmmlkjjjjjjjjjjihhhggfedddddcba

result:

ok single line: 'tttttttttttttttttttttttttttttt...mmmlkjjjjjjjjjjihhhggfedddddcba'

Test #50:

score: 0
Accepted
time: 554ms
memory: 185540kb

input:

1000
ssrsaodoododddodadeosisdsdddodsddoodrdsodadsodpodadorosrrdrodddobabdorodddoddodaoodoaoadeodaaddosoososoarossdsmroodsoddsdddsiddordsddrsadooodsooerdoroorpdooriosrdddosaoddrddodridoboirsdiirdosdsamoseaiododordsoosdaipososasoesiddsopddddddrsdbopdorsadaaooedbioddcmmaerooesdooaopadmarsodasmseedlmaio...

output:

ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssrqqqqpponnnnnmmlkjiiihgggggfeeeeeeeeeeeeeeeeeeeedccccbba

result:

ok single line: 'tttttttttttttttttttttttttttttt...ggfeeeeeeeeeeeeeeeeeeeedccccbba'

Test #51:

score: 0
Accepted
time: 549ms
memory: 175116kb

input:

1000
frffrffffffffffpfrffffpfffrfrfffffrrfrffffpffffrfpfrffffrfprfffpfrfffffffrfrffffffrfffrfpffffrpfffffrfrfffffffffffrffffpffrrffpfafffsffffffpfsfrfrfrfrffffffrfkffsffffffrffrfaaffafrrfffprffrprrfffrrfpfffrffrfffpifffrsrfipffpfprfrsffafffprffifrapfrrrrrrpffrfrfrspffsarffrfrfrppffparfsffrrfpfpaafaf...

output:

tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssrrqqqqqqpppponnnnmlkjjihhhhhhhgffedddcbbbba

result:

ok single line: 'tttttttttttttttttttttttttttttt...onnnnmlkjjihhhhhhhgffedddcbbbba'

Test #52:

score: 0
Accepted
time: 534ms
memory: 181480kb

input:

1000
jtjjjjjjjjjjjjjjjjjjjjtjjjjtjjjjjjjjjjjjjjtjjjjjjjjjjjjtjjjjjjajjjjjjjjjjjjjjjjjjjjjjjjjjjjjtjjjtjjjjjjtjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjtjjjjtjjjjjjjjjjjjjjjjjtjjjjjtjatjjjjtjtjjjjjajjjjjtjjtjtajjjjtjjjjjjjjjtajjjjjjjjtjjjjjjjjjjjjttjjjtjjjjjjatttjjjtjjtjjjtjjtjtjjajjjttjajtjjtjttjjjjktjjjt...

output:

tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

result:

ok single line: 'tttttttttttttttttttttttttttttt...cccccccccccccccccbaaaaaaaaaaaaa'

Test #53:

score: 0
Accepted
time: 557ms
memory: 185872kb

input:

1000
imkissilgtjrjrspldhdfeoeknmgfndooeebenddotbsidlfjtffirrgqkjhhcapnjokhphrrcfqhtgfdpgfbboqpioknijgddtkjksnlboqrapfhljhlnhegacqbhfnjlfhbkqhrlkonjolspipkcoclnertlbpacdkmrpdpobgologfiokrprnorltfdaljfmdtpsarctbgahcfsckofhrhrfgnehkfangfmfpbgithhfpfdrhcnhfriihbhfngghtprhnhmngfgbpfqngmcpgoihqoakgrgskghf...

output:

ttttttttttttttttssrqqqqqqqqqqqqqqqqqqqqpooooooooooooooooooooooooooooonnmmlkkkkkkkkkkkkkkkkkkkjiiiiiiiiiiiiiiiiiiihgffffeddcbaa

result:

ok single line: 'ttttttttttttttttssrqqqqqqqqqqq...iiiiiiiiiiiiiiiiiihgffffeddcbaa'

Test #54:

score: 0
Accepted
time: 538ms
memory: 184704kb

input:

1000
nhoklkcjhfljgqlrfkpendbcscimicfqsqsdtlrrmktnphhcrfaoipamstiokficaqrpsnbsjecrtprseqkidffqthljgfglfpcemrjhjfbgqlrossdkiosqfslrsfnjqhbjbsigoklqnfjjjjebonmbhfipppinbqogdbmsbhhonhjofjbdsgrljjjkbjigbsjlsophibpooobffpqiqoslsdssljohkifjljdbsopbjsodblrsdqjlrdqbbrfojjspjgilfbppdjbribbsorbqqqqompobgoqsopo...

output:

ttttttsrrrqqpooooooooonmmmmmmmmmmllllkjjjjjjjjjihhhggfedddddddddddddddddddcbbbbbbbbbbbbba

result:

ok single line: 'ttttttsrrrqqpooooooooonmmmmmmm...ddddddddddddddddcbbbbbbbbbbbbba'

Test #55:

score: 0
Accepted
time: 548ms
memory: 174220kb

input:

1000
rcaiopeihfibnahpinlspnlpfqgaptnfqsgmtmfaamtrpgophergqdrrhrqqijgfqpilbbelgkddktfrofeaetqibeegqtkllgaeltredajqqtqbfrqdlbcifelfltoerilflnedeofdqifeforrddeqfqdqlrfplqelfqtjfqldqqdadqqqqlfordiqqeolirdrldqdgefaqfrflqeaffdrdarrqqrffqllfqaqtfdfeqdtdfraodllqeddqdkaifqfeqddleqlqqqlflrpigfdeldfdfddlladkfe...

output:

tttttsrrrqqqqpooooooooonmllllkjjjjjjihhhhhhhhhhhhgfffedcccccbba

result:

ok single line: 'tttttsrrrqqqqpooooooooonmllllkjjjjjjihhhhhhhhhhhhgfffedcccccbba'

Test #56:

score: 0
Accepted
time: 534ms
memory: 153892kb

input:

1000
lctfejbslbflpmmrkkmqklrkdhbgirfctcpghhklbtantbhihgmtokoibhrokrblprbamblkgbkttnlklpnrlpbhgpbiblnrkhbolloookhrblilokbktoblkrkhkkikbgrkkbkkgkkltobglbklkrbbkgklbokkrrklklbkglklgkkkobbkkkkgbgkrbkkglbbkgbklkkblgtkkkkkbbkklblolbbkkrkbbgkbklgbklkrkrbbkblkkrbkllkbbbkkglllgkoklkkkkkkblkolkrblkkkkkkkllbkk...

output:

tsrqqqpoonmllkkkkkjjjihhhhggffeddddddcbbbbbbbbbbbbbbba

result:

ok single line: 'tsrqqqpoonmllkkkkkjjjihhhhggffeddddddcbbbbbbbbbbbbbbba'

Test #57:

score: 0
Accepted
time: 13ms
memory: 32800kb

input:

1000
bnktqidsiockjnaaggrkajmnrkgabnijjbkgabbnrknnjjgarbaantbaskanbabgrbanbnbnasgaaabbbaraaaakaabbaraggaaraabbnbabranabganbanbabaanrabbbabrkajaarkababbaaabrgbbaaaaaaarbaaabaaaaagaanabaaabaaaaabbbbaaaaaaaaaaanraaaaabaabaaabbabaarbaabaarbaaaaaaaaanaabaaaaaaaaaaaabnbaaaaaaaabaaaaabaaabnaaaraaabaaaaabaaa...

output:

onmlkkkjiihggggfeeeeeedcccccccbaa

result:

ok single line: 'onmlkkkjiihggggfeeeeeedcccccccbaa'

Test #58:

score: 0
Accepted
time: 513ms
memory: 123648kb

input:

1000
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkfffffffffffffffffffffffffffffffffffffffffffffffooooooooooooooooooooooooooooooooooooooooooggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrcccccccccccccccccccccccccccccc...

output:

tttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooo...

result:

ok single line: 'tttttttttttttttttttttttttttttt...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #59:

score: 0
Accepted
time: 565ms
memory: 125468kb

input:

1000
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiillllllllllllllllllllllllllllllllllllllllllllllllggggggggggggggggggggggggggggggggggggggggggggggqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqffffffffffffffffffffffffffffffffffffffffffffffccccccccccccccccccccccccccccccccccccccccccccccccccccccr...

output:

ttttttttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppoooooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnn...

result:

ok single line: 'tttttttttttttttttttttttttttttt...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #60:

score: 0
Accepted
time: 523ms
memory: 126924kb

input:

1000
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhddddddddddddddddddddddddddddddddddddddddddddddddoooooooooooooooooooooooooooooooooooooooooooooooooooooootttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttqqqqqqqqqqqqqqqqqqqq...

output:

tttttttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooo...

result:

ok single line: 'tttttttttttttttttttttttttttttt...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #61:

score: 0
Accepted
time: 541ms
memory: 135120kb

input:

1000
eeeeeeeeeepeeeeeeeeeeeeeeeeeepeeeeeeeeeeeeeeeeeeeeeeccccccccccccccccccccccccccccccccccccccccccccccccccccnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnninnnnnnnnnnnnnnnnnnnnnnnnnnnnnniiiiiiiiiiiiiiiiiiiiiiiiiiiiniiiiiiiiiiiiiiiiiiiiiiiiiiiiiidddddddddddddddddddddddddddddddddddddddddddddddddddjjjjjjjjjjjj...

output:

ttttttttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooooooooooooooooo...

result:

ok single line: 'tttttttttttttttttttttttttttttt...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #62:

score: 0
Accepted
time: 552ms
memory: 156444kb

input:

1000
pppppppppppppppppppppppppppeppppppppppppppppmmmmmmmmmmmmmmmmmmmommmmmmmmmmmmmmmmmmmmrmmmmmhmmmmnnfnnnnnnnnnnnnnnnnnnnnnnnnqnnnnnnnnnnnnnnnnnnnniiiiiiibiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiggggggggggggggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeepeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrrr...

output:

ttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppponnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...

result:

ok single line: 'tttttttttttttttttttttttttttttt...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #63:

score: 0
Accepted
time: 536ms
memory: 139416kb

input:

1000
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnbbbbbbbbbblbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbblllllllllllllllllblllllllllllllllllltllllllllllllllffffjffffffffffffffffffffffffjfffffffffffffffffffffffkkkkkkkkkkkkkkktkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkeeeeeeeeeeeheeeeeeeeeeeeeeeeeeeeeeeeee...

output:

ttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqponnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...

result:

ok single line: 'tttttttttttttttttttttttttttttt...eeeeeeeeedcccccccccccccccccccba'

Test #64:

score: 0
Accepted
time: 534ms
memory: 182564kb

input:

1000
eeeeqeeeeeebedeepeeeeneeeeeeeeeeedeeeeeeeeeeeeeinbbbbbjbbbjbbbbbbbbobbbsbbbbabbbbbbbbbbbbnbebbbbbbkkkkkkkkfkakkkkkkkkkkqpkkkkkkkkkkkkkkkkkkkkkqqqqqqqpqqqkqqqsqqgqqqqgqqqqqqqqqqqqqqqqqqeqqmpqqqqqqqqqqmmqmmmmmmmmmmmmmqgmmmmmmmbmcmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmcccccccccccccccccccccccccccccccccccccc...

output:

tttttttttttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppppppoooooooooooooooooooooooooooooooooooooonnnnnnnnnn...

result:

ok single line: 'tttttttttttttttttttttttttttttt...hhhhhhhhhhhhhgfedccccccccccccba'

Test #65:

score: 0
Accepted
time: 537ms
memory: 185360kb

input:

1000
cccccccjiccccccccchccfccctcccccccccccccccccccccccccsmmmommjmmmmbmmmmrmmmmmmmmmsmmmpmmmmmmmkmhhhhhhahhhbhhhhhhhhhhohhthhhhhhhchhhhhhhhhhheihhhhhhthhhfhhlllllllflllilllllllqlllllllllllllllglflllllllpllgkgggggpggggggntgggigagoggggggtggggggbgggglqaaaaaaaaaaaraahagaaaaafaaqiaaaaaaaaaaaaaaaaaqajaaanp...

output:

ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssssssssssssssssssssssssssrqppppponmlkkkkjiiiiihgfedcba

result:

ok single line: 'tttttttttttttttttttttttttttttt...ssrqppppponmlkkkkjiiiiihgfedcba'

Test #66:

score: 0
Accepted
time: 551ms
memory: 184816kb

input:

1000
ogajooiokooocoocoloojooooooooaoopomojoqomoooocmmmmpfnmrcmmglmmmemhmmammmmmemmsqommtmhmmmommdmmmmmjtttdtcttttttnirhttmtttttttttttahtttpnthtttthriiiigiiiiigiiiiiiniiiaiihipiiieiicidsiiiitcoeqpiiniriiqfgggmgofggigngdggiggkdgggogrgggggggggglggpgpkhpppppppppqtppppoipppfppppcppqpppppiepipfplpgstdppas...

output:

ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrqpppppppppppppppppppponnnnnnmllllkkjjihggfedcbaa

result:

ok single line: 'tttttttttttttttttttttttttttttt...pppponnnnnnmllllkkjjihggfedcbaa'

Test #67:

score: 0
Accepted
time: 542ms
memory: 185256kb

input:

1000
stajabsssdshsanprcsspqassfssqsssmeedmmsnssmsssssasqassrghkkgajkdhcgggegortfgnpngggpkegqlgggkgegggegapeejpglpdqnmrpprppphedbhcplhqpppcmbccppppdtpriqnddcipioffqakajqasaapgallaiaaaasramaoaksisnsiafhaegpaaetcarlidafkaaftlqgttsnttagtrtencmttktbggtptthobgmtholttotshctttnnbpbtjimkbljmlklekbpmabbmckbfb...

output:

ttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssrqpppponmllllkjihgfedcba

result:

ok single line: 'tttttttttttttttttttttttttttttt...sssssssrqpppponmllllkjihgfedcba'

Test #68:

score: 0
Accepted
time: 547ms
memory: 184484kb

input:

1000
nnalcjmhcccfkceoplntcohampjcsbcqgcdnpkqrngcjqocoandsdmgboanmloobgqoqdoqlteinrooonlnbegbolcohqbnkgagosnjoamhlipgdetdtsnpdarsdmfppkbbmicefasiekkcnqjmemeaiodoknteaibmlpmlgilmpptgdijnrngqboohitibafisnemjrjrifcdkbinmccmtkmgjimoienggjefiggjhakfrtaqeojhdkqektimkkooamefmkgeqdncjmclkiroloksdqsckfflrknkj...

output:

tttttttttttttttttttttttttttttttttttttttttttttttttttttttssrqqqqpoonmmmmmllkjiihgfeddcbaaa

result:

ok single line: 'tttttttttttttttttttttttttttttt...rqqqqpoonmmmmmllkjiihgfeddcbaaa'

Test #69:

score: 0
Accepted
time: 539ms
memory: 183960kb

input:

1000
iotlfkpgnteocmgarakaraaqdthjqahaimrjhraoobdhnempllltjqdoqomeibaaerppksjbgablrkbrtaheabadfsfgfjnrpfngjtmqmshalisjijnnfcencradshreohesnfmhhdlfqtekktodnlfdrjcecmleamllaqotodekhsiobfschasmmbrataeqfbcjoerdbhsnggjkglgfnretnhldksjqqnhlpgbcqadcscmmntocgtgitqipicrcoahodjlggmigaedibigbgeofsotoopkjhjatjhp...

output:

tttttttttttttttttttttttttttttttttttttttttttttttttttttttttssssrrqqpooooonmmlkkjihgfedcba

result:

ok single line: 'tttttttttttttttttttttttttttttt...tssssrrqqpooooonmmlkkjihgfedcba'

Test #70:

score: 0
Accepted
time: 568ms
memory: 185636kb

input:

1000
brknftjrdbthbfphdrnghkalkjnooftjohnodktlrpllpcoaqjkfalbjfrosqnahregdtttinaeejljcmcbbhikdeofjlbkdnblabfhflibnqigteolhffdiojdrqshiqprgrgposmgjjnkhkhstacammedflbnqfasaeoogreskdjntotkqfdfatcqjqjnmlcddoshnpsbjpjbpdjbjbddqjfhtkepecfkpjlaqishrdhopkjoehfkttsfchhbieslklemqrlrbqddqhkstsfinopileqamsehiqfb...

output:

tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsrrqpponmlkjiiihgfedccba

result:

ok single line: 'tttttttttttttttttttttttttttttt...tttttttsrrqpponmlkjiiihgfedccba'

Test #71:

score: 0
Accepted
time: 566ms
memory: 184140kb

input:

1000
brskjlirkejbmqcgbojpahdhacksbiilcmkefghjrshfonrtimlijdnkjhkordkdfmjapoadsgmsskngghieapbmtoojogcptthmjkkredtlhlndsphbmbckrcbtcekkidtrtqckqhqefsifctmpmjmhkfdlmkkrkhqncngoklhmkolgretaqmrednimcncggbmqbiqrgfhmlataqethsdafmbtjqagqabmbssjcopihntlldbfajehplfdrsffcidptnljcoeqifaagldanhlidfplfifcndrktdjh...

output:

ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsrrqqqponnmlkkjiihgfeddcba

result:

ok single line: 'tttttttttttttttttttttttttttttt...tttttsrrqqqponnmlkkjiihgfeddcba'

Test #72:

score: 0
Accepted
time: 527ms
memory: 184628kb

input:

1000
jjjjrrrrhhhhkkkkllllffffmmmmppppnnnnooooggggddddaaaassssqqqqcccciiiibbbbeeeettttffffllllppppqqqqmmmmssssbbbbnnnnggggiiiiooooccccjjjjaaaarrrrhhhhkkkkddddeeeeiiiimmmmbbbbqqqqkkkkffffllllrrrrnnnnppppjjjjgggghhhhaaaassssccccooooddddnnnnbbbbiiiiaaaajjjjkkkkppppggggffffcccchhhhssssqqqqmmmmrrrrllllooo...

output:

ttttssssrrrrrrrrqqqqppppppppoooonnnnnnnnmmmmllllllllkkkkjjjjjjjjiiiihhhhhhhhggggffffffffeeeeddddddddddddddddddddddddccccccccccccccccccccbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'ttttssssrrrrrrrrqqqqppppppppoo...bbbbbbbbbbbaaaaaaaaaaaaaaaaaaaa'

Test #73:

score: 0
Accepted
time: 531ms
memory: 184856kb

input:

1000
kkkkllllggggrrrrbbbbaaaaooooddddqqqqeeeennnniiiiccccssssmmmmjjjjpppphhhhffffttttnnnnddddeeeejjjjmmmmsssskkkkbbbbiiiirrrrqqqqppppllllhhhhccccooooaaaaggggffffeeeeaaaaqqqqkkkkccccrrrrbbbbddddlllliiiinnnnmmmmhhhhjjjjssssppppooooggggccccaaaallllrrrrmmmmqqqqhhhheeeessssiiiikkkkddddjjjjnnnnbbbbppppooo...

output:

ttttssssrrrrrrrrqqqqppppppppoooonnnnnnnnmmmmllllllllkkkkkjjjjiiiihhhhhhhhggggffffffffeeeeeeeeddddddddddddddddddddccccccccccccccccccccbaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'ttttssssrrrrrrrrqqqqppppppppoo...ccccccccccbaaaaaaaaaaaaaaaaaaaa'

Test #74:

score: 0
Accepted
time: 547ms
memory: 185644kb

input:

1000
nnnneeeeggggffffbbbbllllrrrrmmmmhhhhppppqqqqiiiikkkkssssddddjjjjooooaaaacccctttthhhhffffkkkkaaiarrrroooonnnnppppssssbbbbjjjjiiiiqqqqmmmmggggeeeeddddllllccccmmmmggggnnnnaaaaiiiikkkkeeeeddddffffbbbbrrrroooossssjjjjhhhhqqqqppppllllrrrroooobbbbssssmmmmqqqqkkkknnrneeeeiiiijjjjaaaaffffddddhhhhggggppp...

output:

ttttsssssrrrrqqqqpppppppppoooonnnnmmmmmmmmmmmmmllllkkkkjjjjjjjjiiiihhhhhhhhggggggggffffffffeeeeddddddddddddddddddddddddccccccccccccccccccccbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba

result:

ok single line: 'ttttsssssrrrrqqqqpppppppppoooo...bbbbbbbbbbbbbbbbbbbbbbbbbbbbbba'

Test #75:

score: 0
Accepted
time: 563ms
memory: 183980kb

input:

1000
qqqqddjdhhhhggggiiiibbbbeeeekkkkoooossssllllrrrrffffjjjjmmmmnnnnaaaappppccccttttfgggddddrrrrjjjjkkkkaaaammmmppppqqqqbbbbllllffffsssshhhheeeennnnooooiiiiccccaaaahhhhssssjjjjffffnnnneeeemmmmllllkkkkddddggggbbbbqqqqrrrrppppooooiiiilllljjjjkkkkaaaasssshhhhbbbbnnnnppppeeeeddddqqqqmmmmffgfggggrrrrooo...

output:

tttttssssrrrrrqqqqppppooooooooonnnnmmmmllllllllkkkkjjjjjjjjiiiihhhhhhhhhhhhhhhhgggggffffeeeeddddddddccccccccccccccccccccccccccccccccccccccccccccccccbaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'tttttssssrrrrrqqqqppppoooooooo...ccccccccccbaaaaaaaaaaaaaaaaaaaa'

Test #76:

score: 0
Accepted
time: 576ms
memory: 184700kb

input:

1000
qqqqppppjjjfmmmmffffllllggggiiiioooocccckkkknnnnhhhhrrrrsssseeeeddddbbbbaaaattttmmmmqqqqrrrrddddssssooooggggeeeehhhhnnnniiiiccccfffflllljjjjnkkkppppbbbbaaaaffffnnkneeeejsjjqqqqgggghhhhssssppppllllsmmmddddcccciiiioooorrrrkkkkbbbbpppprrrroooojjjjhhhhggggeeeennnnmmmmqqqqddddssssffffiiiiccccllllkkk...

output:

tttttssssrrrrrqqqqppppppoooonnnnmmmmmmmmllllllllkkkkjjjjjjjjiiiiihhhhggggggggffffeeeeeeeeddddcccccccccccccccccccccccccccbbaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'tttttssssrrrrrqqqqppppppoooonn...ccccccccccbbaaaaaaaaaaaaaaaaaaa'

Test #77:

score: 0
Accepted
time: 569ms
memory: 184184kb

input:

1000
aaaassssooooeeeeiiiiffffnnnnhhhhppppqqqqddddmfmmggggkkkkdbbbccccjjjjllllrrlrtttkssssihiimmmmoooollllaaaabbbbppppddddffffqqqqcccckkkkannneeeehhhhjjjjggggrrrrdbddbbbbllrloooohhhhnnnneeeeiiiiqqqqaaaaccccppppsssskkkkjjjjffffmmmmggggffffjjjjebeebhhhqqqqssssnnnnikiiaaaabbbbcccdkkfkllllddddppppoosommm...

output:

ttttttttttttssssrrqppppooooooooooooonnnnmmmmmmmmllllkjjjjjjjjjjjjjjjjjjjiiiihhhhgffffedcba

result:

ok single line: 'ttttttttttttssssrrqppppooooooo...jjjjjjjjjjjjjiiiihhhhgffffedcba'

Test #78:

score: 0
Accepted
time: 570ms
memory: 184044kb

input:

1000
jjjjqqqqhhhallllkekkfflfmmmmbbgbccacaaaaddddnnnlppppeleeggggoooorrrriiiisshittttffffjjjjeeeenhnnkkkkiiiipbppccccaaaallllbmbbqqqqggghrjrrmmmehhhhddddgooossssaaahkkkknnnnppppjjqjhhhhddddflffqqqqgpggbbbbllllcccceeeeiiiimmmmrrrroooomjmbjqqqggggnnnnkkkqllllhhhhisiigaaaccccjeeebbebjjjjffdfppppdddfgjr...

output:

tttttttsssssrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppponnnnnnnnnmmmmlllllllllkkkkjjjjihhhhhhhgffffeeeedcbaa

result:

ok single line: 'tttttttsssssrrrrqqqqqqqqqqqqqq...lkkkkjjjjihhhhhhhgffffeeeedcbaa'

Test #79:

score: 0
Accepted
time: 554ms
memory: 185312kb

input:

1000
rmpmgppmiiiiifffpcccjjjjmeteggggrrrroooonngnqrqqllllsssmgaaabbmbddddhhhhkkkketotddddnnnniihfoggcqqqqccccfobbeeempppprrrrssssoogolmlljbjqaaacmmmmffffhfhhkkkkqqqjggggllllnnnnfflfmmmmaaaaiiiippppssssccccjjjsrrrpoooofbbbebefddddhhmhbbobjjajlcccjpjgllllmmmsqqqqoomqaagassssnnnngfnrfffffiiieeeerrrrddm...

output:

ttttttttttttsssssrrrrqqqqqqqqqqqqqqqqqqqqqqqqpponnnnnnnnmmmmllllkjjjjjjjjjjjjjjjjjjjjjjjihhhhhhhhgfedcba

result:

ok single line: 'ttttttttttttsssssrrrrqqqqqqqqq...jjjjjjjjjjjjjjjihhhhhhhhgfedcba'

Test #80:

score: 0
Accepted
time: 523ms
memory: 184424kb

input:

1000
fiqliepnardojtocjffnbcrkggjtloaobbrsadcesghtpnelhkljemnimdbsmrtsipkdpmgfqqcqahhkqoaborolfiednkdjispchgnsepkecphbqaoagdnlnpimmmsbsrmqgfrkhkgjjefljfhldbciqcarerennnlmiqsdisgckqkaofljmhmgpdpfncsecrfjaforrdichdhpkiljpgaalgojkqsqomehoralkqlgmipdgisocshpoihjgnmargqnnenpsjdspocrqddkmjerlekhackejlmqchi...

output:

ttttssssssrrrrqqqpoooooooooonmmmmllllllllkkkkjiiiiihhhgggggffffeeeeeeeeeeeeeeeeeeeeeeeeddddccccccbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'ttttssssssrrrrqqqpoooooooooonm...bbbbbbbbbbaaaaaaaaaaaaaaaaaaaaa'

Test #81:

score: 0
Accepted
time: 569ms
memory: 186012kb

input:

1000
ekdhimcjercjsmoblqtknaljkosrjphtgdohafrteiqkmiptofdrsbeacfhmsbcfgqqdlniabgglnpnpqbgqikjjfhrslhrjnqhjepeopbpfdflegieacsbmkkankcocqdlmplrmrcnghsfodmosaidignbadeeelsfrrimmpafckhpndjijegcicbmblsgoosdsbmlnjjgnblahpafnahhkgrkfdorpkocifmfajpssalbpghbolsfarlbhsdhiekpekdmedkfkcoicgrgcdrrjmhjgaceiiomljop...

output:

ttttssssssrrrrrrrqqqpppppppooonnmllllllllllllllkkjjjjjjjjiihgggggfffffeeeeeeeeeeeeddddddddddccbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'ttttssssssrrrrrrrqqqpppppppooo...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #82:

score: 0
Accepted
time: 578ms
memory: 185680kb

input:

1000
slihrbglnocjedftcjmmcbrldaidlarrhpgeoaiqnpakhgcdnejomspjqtbfqkhtpisfokgtsqnbfmkeedpsnildnihahrlrknbaemnfqldhcffipckbjgbbqejqgrkarmioqscgpmosepfrcjladsgokhmjaajnsrksejlpbdoeqgfgobcramcnhkpnqkjdqdcseogfjfhbqbhcmropaphldfnsllegkmomrghcfhdcpcjngqlmsoboopdhqlplnfhbmrfnqagjqdbkanjmrbpscrfsgmoklsjdaka...

output:

ttttsssssrrrqqqppoonmmmmmmmlllkjjjjjjihhhhhhhhhhhhhhhhhhhhhhhhhgggggggggfffffeeedddcbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'ttttsssssrrrqqqppoonmmmmmmmlll...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #83:

score: 0
Accepted
time: 552ms
memory: 185396kb

input:

1000
mfdomjeggdhjeiaoldaoikcpoqhcnmhilpmrsbekrkfbqsqdgtliernqfjgjscnfhbkacnpstlbttrpadpkbngnacjlfafhssoncejommrapraresipilekhilcdpmqndqbbfelmeobhjkgdfgkcriogjhqspbfkkdemnneflcscjflfpagqmcgaiadibebhkshmipjqspqrdlngqamfsjrlgenrbhrcjdhiimslkqsrhirsnqekmqnjphdaskndjceiabdbfalerabhemprdlcifhmkjjpnbcplnpf...

output:

ttttsssssrrrrqqpppppoooooonmmmmmmmmmmmlkkkkkkkjiiiihhhhhhhggfffffeeeeeeeeeddddccbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'ttttsssssrrrrqqpppppoooooonmmm...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #84:

score: 0
Accepted
time: 562ms
memory: 185588kb

input:

1000
fajjsmepacodsdalkpkreroiitlrdeqenjehantldbtgblmpnhmgbckfribfigsoostkclgmjfqhpnqqdrnoiskngclcibpaaqelflcehhrioqdkdoqmfbrkpibsalnqakmcsgrojefbejkdfhmgpgjmnjspgdjioshskgrikdkjrpdpbfqfngcfieqsfcanaqjdljclqihpbrbselocerbnogoankhlpahejhceockfkgbjldkrnairrffpgndqaaqphcphlgrdbdcojjkbehifoeboqniienlqpal...

output:

tttttssssrrqpppppppooonnnnnnnnnmmmllkjjjjjjjjjjjjiiiiiiiiiiiihhhhhhhhhhhhhhhhhhggggfffffffeedccccccccccccba

result:

ok single line: 'tttttssssrrqpppppppooonnnnnnnn...hhhggggfffffffeedccccccccccccba'

Test #85:

score: 0
Accepted
time: 570ms
memory: 183948kb

input:

1000
arlhfbhlopoimpqcqgklpnitbqtendmhchsjtjadgijienrjsrctnkgalfksdmfonbmdhqgaepsrrekafapqeigjmlnkcpkdrmcjkebpiardskijaniqmoeoarsphgjcoknedgfbslqbrsfbkklohfghqndcpcahfamhakanrberdkiqlejqjsmjpbrnnimsmlponsibqopedkijkfdlhcsfaboqflohedccjconnihkrdjmphhsacmqeaooqehfbjdaqfsrfkhckpjsemrrhbiiippqdfskanbcedb...

output:

ttttssssssssssrqqqqqqqqqqqpppoonnnnnnnnnnnmmmllllllllkkkkkkkkkkjjjjihhhhhhhhhhhhhhhhgfffffffffffffffffffffedcba

result:

ok single line: 'ttttssssssssssrqqqqqqqqqqqpppo...hhhhgfffffffffffffffffffffedcba'

Test #86:

score: 0
Accepted
time: 584ms
memory: 184828kb

input:

1000
jerepqofkqslhmidbtrpmlmogjoikdadcandqllpotkqljtehhshjjtbmcacgnqgesbasonbrdfpjframljrjpqispnpskborhrahjaeiogoeldjkfbkaqqnqcfscddlkbiahlsgccbhemirimgreopfnnmgodiihmgfqrkeagmlbejrcimfnnjpfjqkdoandhdjferolgpnhrneklbfqcihipqecjpcegbacnaffmqrragbclpladrjgejdaooiqfmmnckqoeeppaokibeijgnlbrmdfkkgqbcofmp...

output:

tttttsssrrqppppppponnnnnnnnnnnnmmllllllllllllllllllkkjjjjiiiiiiiiiiiiiiiiiiiiiiiiiihgffedcba

result:

ok single line: 'tttttsssrrqppppppponnnnnnnnnnn...iiiiiiiiiiiiiiiiiiiiiihgffedcba'

Test #87:

score: 0
Accepted
time: 534ms
memory: 184280kb

input:

1000
doifaepramcfllfmqnordckaeitdbpcrsmcnjenqimmkqbrpohbtklfesaejkhiqggkrgafahjhtponbinjqhiqpsadjqsrrarfjhpiqbrhikprbhodjccmepgkffllosmpennnfmenbcjokadmgkaosagkgdqmnadpaosqfsjkafhorqfdedfbrgbkjetkfdgspclfkqmmragpphcmeodlbeahjhgonfrfdcbeojpqsajljqarjolomodddrnnkbmbcpssgaeefnellofrganocspdfrgdgkqbnpsm...

output:

tttttttttsrrrrrrrqqpooonnnnnnnmmlkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkjihhhhhhgfeddcbba

result:

ok single line: 'tttttttttsrrrrrrrqqpooonnnnnnn...kkkkkkkkkkkkkkjihhhhhhgfeddcbba'

Test #88:

score: 0
Accepted
time: 564ms
memory: 184340kb

input:

1000
cnabjpsdmegorhkqliftcnabjpsdmegorhkqliftcnabjpsdmegorhkqliftcnabjpsdmegorhkqliftkiqjaocdmlprhngbsefkiqjaocdmlprhngbsefkiqjaocdmlprhngbsefkiqjaocdmlprhngbsefombpncrdjhkqgailseombpncrdjhkqgailseombpncrdjhkqgailseombpncrdjhkqgailsembiaqjkrdlopgnhcsmbiaqjkrdlopgnhcsmbiaqjkrdlopgnhcsmbiaqjkrdlopgnhc...

output:

ttttssssrrrrqqqqppppoooonnnnmmmmllllkkkkjjjjiiiihhhhggggffffeeeeddddddddddddddddddddccccccccccccccccccccbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'ttttssssrrrrqqqqppppoooonnnnmm...bbbbbbbbbbbaaaaaaaaaaaaaaaaaaaa'

Test #89:

score: 0
Accepted
time: 528ms
memory: 184952kb

input:

1000
akjicspomqldhbrgfentakjicspomqldhbrgfentakjicspomqldhbrgfentakjicspomqldhbrgfentkrjlsioepgafcmbhdqnkrjlsioepgafcmbhdqnkrjlsioepgafcmbhdqnkrjlsioepgafcmbhdqnepsamdlhrbkigofcjqepsamdlhrbkigofcjqepsamdlhrbkigofcjqepsamdlhrbkigofcjqkaimdpbsfrgholecjkaimdpbsfrgholecjkaimdpbsfrgholecjkaimdpbsfrgholec...

output:

ttttssssrrrrqqqqppppoooonnnnnmllllkkkkjjjjjjjjiiiihhhhgfeeeeddddccccbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'ttttssssrrrrqqqqppppoooonnnnnm...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #90:

score: 0
Accepted
time: 551ms
memory: 184328kb

input:

1000
gblqhspinkcjomedrfatgblqhspinkcjomedrfatgblqhspinkcjomedrfatgblqhspinkcjomedrfatdejglcrqobipsnmfhkadejglcrqobipsnmfhkadejglcrqobipsnmfhkadejglcrbobipsnmfhkaglhjpnmecqbofsdrikglhjpnmecqbofsdrikglhjpnmecqbofsdrikglhjpnmecqbofsdrikcmgpbrfsjqnoelhdicmgpbrfsjqnoelhdicmgpbrfsjqnoelhdicmgpbrfsjqnoelhd...

output:

ttttsssssrqqqqppppoooonnnnmmmmmmmmllllkkkkjjjjiiiihhhhggggffffedddccccccccccccccccccccccccccbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'ttttsssssrqqqqppppoooonnnnmmmm...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #91:

score: 0
Accepted
time: 536ms
memory: 185184kb

input:

1000
kshfdralpcoegimbjnqtkshfdralpcoegimbjnqtkshfdralpcoegimbjnqtkshfdralpcoegimbjnqtsnomhjbdfkicargpelqsnomhjbdfkicargpelqsnomhjbdfkicargpelqsnomhjbdfkicargpelqanogsjrmdibpekhfclanogsjrjdibpekhfclanogsjrmdibpekhfclanogsjrmdibpekhfclganbdmpfjkeisorhcganbdmpfjkeisorhcganbdmpfjkeisorhcganbdmpfjkeisorh...

output:

ttttssssrrrrrqppppooooonmmmmllllkkkkkjiiiiiiiiihggggfffffffffedddddddddddddddddddddddddcbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

result:

ok single line: 'ttttssssrrrrrqppppooooonmmmmll...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #92:

score: 0
Accepted
time: 561ms
memory: 184528kb

input:

1000
mjikdhcbfqrseonpglatmjicdhcbfqrseonpglatmjikdhcbfqrseonpglatmjikdhcbfqrseonpglatqikocrpsmeljenhfdgaqikocrpsmbljenhfdgaqikocrpsmbljenhfdgaqikocrpsmbljenhfdganekmcrhlqopsdfijbgiekmcrhlqopsdfijbgnekmcrhlqopsdfijbgnekmcrhlqopsdfijbgchfniorqldpksjembchfniorqldpksjembchfniorqldpksjembchfniorqldpksjem...

output:

tttttsrrrrrqppppponnnnnnnnnnnnnmllllkkkkjjjjihhggggggggggfeeeeeeedcccccccccccccccccccccbaaaaaaaaaaaa

result:

ok single line: 'tttttsrrrrrqppppponnnnnnnnnnnn...ccccccccccccccccccbaaaaaaaaaaaa'

Test #93:

score: 0
Accepted
time: 569ms
memory: 183936kb

input:

1000
kqlgapfojidnecmbrshtkqlgapfojidnecmbrshtkqlgapnojidnecmbrshtkqlfapiojidnecmbrshtcaoflgrimcbkjnesdphcaoflgrimqbkjnesdphcaoflgrimqbkjnesdphaaoflgrimqbkjsesdphndcfgjilsonrmkabqpedcfbjilsoermeabqpedcfgjilsonrmkabqpejcfgjilsonrmkabqpknogaemcjdfmbsrfqknogaelcjdimbsrfqknogaelcjdimbsrfqknogcelcjdilbsrf...

output:

tttttsrrrrrqqpooooonnmllllllllllllllkjjjjjjjjjjihhhhgffffffeeeeeeeeeeeeeeeedddddddddddddddddddddddddddddddcbbbbbbbbbbbbbbbbbba

result:

ok single line: 'tttttsrrrrrqqpooooonnmllllllll...dddddddddddcbbbbbbbbbbbbbbbbbba'

Test #94:

score: 0
Accepted
time: 551ms
memory: 184472kb

input:

1000
gbhemjclioqfhrkspaktgbnemicljoqfhrkspadtgbnemiclkoqfhrkspadtgbnemicljoqfhrkspadtqfppsgekjomhncgrladqfipjmekjomhncgrladqfipsbekjomhncgrladqfipsbekjomhncgrladsqbpfekhgrlcmobjnasqimqekhgrlcmoijnasqipfckhgrlcmobjnasqipfekhgrlkmobjnasfimckrlpbgjhoqengfimckrlpbgjhoqensfimcdqlpbgjhoqensfimckrlpbbjhoqe...

output:

ttttttsrrrrrrrrrrqppponnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmlkkjihhhhhhhhgfffeddddddddddddddddcba

result:

ok single line: 'ttttttsrrrrrrrrrrqppponnnnnnnn...hhhhhhhgfffeddddddddddddddddcba'

Test #95:

score: 0
Accepted
time: 552ms
memory: 185352kb

input:

1000
kencnpiqfamhoccdbggtoersnciqfaghojcfbgltkeisnpiqfhmhojcdbgltkersjpiqfdmhorcdbgltmojbjofdiqragnockelhojbphfdhqrafnsckeomojjphhdiqragnsckeliojbphfoifrjgnsckeikoonjhfcmqridogipeksonjhfcoqhbaagipeksonmhfgmqrbdagipeksonjhrcmqrbbagipeadnmjcfigqrbhosopadnmjcfigqrbhsskpadnmjcfigqrbroskpadnmjckigqrbhock...

output:

tttttttsrrrrrrrrrrrrrrrqqpponnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmllllllllllllllllllllkjihhgffeedcba

result:

ok single line: 'tttttttsrrrrrrrrrrrrrrrqqpponn...lllllllllllllllllkjihhgffeedcba'

Test #96:

score: 0
Accepted
time: 539ms
memory: 157584kb

input:

953
kfibakbhjjkhbadebgcaddfhkkbhigcbfbcikcgkedefgdhefaiaeagfeccacejadgjjfjheihgdfjikihigjcdbllllllllgkeaeikkfjabcigfcjgbghdgkjbbjhgafdddhaccdgjkdfafaakgjedeibbhekehhaciiiijfjceebhbdicfkfhcmmmmmmmmficcfckkjfibkeccejdcjkdbahdjkedjgeigjcijedkaffiiihabfbhjfaahabeghgaegbgakbdhkgeidfdbhghcnnnnnnnnkdaddfab...

output:

ttttttttssssssssrrrrrrrrqqqqqqqqppppppppoooooooonnnnnnnnmmmmmmmmllllllllkkkkkkkkjjjjjjjjiiiiiiiihhhhhhhhggggggggffffffffeeeeeeeeddddddddcccccccccba

result:

ok single line: 'ttttttttssssssssrrrrrrrrqqqqqq...ffffeeeeeeeeddddddddcccccccccba'

Test #97:

score: 0
Accepted
time: 542ms
memory: 158520kb

input:

945
edakhcfjgibedakhcfjgibedakhcfjgibedakhcfjgibedakhcfjgibedakhcfjgibedakhcfjgibedakhcfjgiblllllllacgfeihkbjdacgfeihkbjdacgfeihkbjdacgfeihkbjdacgfeihkbjdacgfeihkbjdacgfeihkbjdacgfeihkbjdmmmmmmmbdekifjcghabdekifjcghabdekifjcghabdekifjcghabdekifjcghabdekifjcghabdekifjcghabdekifjcghannnnnnnfhkbcigjaed...

output:

ttttttttsssssssrrrrrrrrqqqqqqqppppppppooooooonnnnnnnnmmmmmmmllllllllkkkkkkkjjjjjjjjiiiiiiihhhhhhhhgggggggffffffffeeeeeeeddddddddcccccccbbbbbbbbbaaaa

result:

ok single line: 'ttttttttsssssssrrrrrrrrqqqqqqq...eeeddddddddcccccccbbbbbbbbbaaaa'