#77

by asd

Submitted 3 years 1 day ago
Thu Nov 18 18:48:30 CST 2021
Judger: judger1
Dataset Version: v2

13 ms / 8872 KB
Final 100
Problem: lss3.idiom
Language: GNU C++ 11


#1

3ms / 8760KB / Accepted
Input
GSJXQT 13507
Output
113506
Answer
113506
Checker Information
"113506"

#2

2ms / 8808KB / Accepted
Input
H 32069
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#3

2ms / 8728KB / Accepted
Input
AYCEX 6096
Output
16095
Answer
16095
Checker Information
"16095"

#4

6ms / 8836KB / Accepted
Input
RUJSGM 30350
Output
130349
Answer
130349
Checker Information
"130349"

#5

2ms / 8872KB / Accepted
Input
GHFUPP 12212
Output
222111
Answer
222111
Checker Information
"222111"

#6

2ms / 8816KB / Accepted
Input
HOC 11338
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#7

3ms / 8820KB / Accepted
Input
GXDTD 27887
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#8

2ms / 8800KB / Accepted
Input
PSOGHQ 26854
Output
126853
Answer
126853
Checker Information
"126853"

#9

2ms / 8804KB / Accepted
Input
GJ 1825
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#10

2ms / 8840KB / Accepted
Input
CFS 26259
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#11

2ms / 8872KB / Accepted
Input
TZV 22094
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#12

2ms / 8840KB / Accepted
Input
EGBZLR 31515
Output
131514
Answer
131514
Checker Information
"131514"

#13

1ms / 8772KB / Accepted
Input
PXW 1067
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#14

2ms / 8728KB / Accepted
Input
W 20611
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#15

2ms / 8812KB / Accepted
Input
BGOL 955
Output
1954
Answer
1954
Checker Information
"1954"

#16

2ms / 8872KB / Accepted
Input
YUFR 14569
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#17

2ms / 8728KB / Accepted
Input
CCPAVQ 8375
Output
118374
Answer
118374
Checker Information
"118374"

#18

2ms / 8756KB / Accepted
Input
RLO 2276
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#19

1ms / 8768KB / Accepted
Input
OBY 24201
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#20

2ms / 8808KB / Accepted
Input
E 29452
Output
ZJS!!
Answer
ZJS!!
Checker Information
"ZJS!!"

#1

13ms / 8808KB / Accepted
Input
LIYSVFXIHSMCPHCPMKPBLBEACCAOCNBJXUIXASRPTJKDFYTYHALVYTEWZNBBLDWVIBSYSEVXCTYFSARYCBDVIDYUNAHGALRZOHNPSJKPZXTNLZSWLXSVFBGJOCXAZQYBKJVWQBVQEIWYLWEXIRQFMGGLEFCSFGTYBGGMQBCFKONUIHSCVZJIKKXZILTBFKBRPGRXJPTJJTOYWHDDAEEAEFMITWZUNQDZGGQLSDPJPCSXLNKBSWNGAYPNJEHCJRFHFSNGXFUTLGTIJDBIQKBAYAIZYKMNIHBSROZZPVGMLLFCCVOEPOWENGTFDLZGPFIFVEAGRNROPOZAKALCJQKJAFEKCBMADJCAGSCGVFUDVBXBPNGVCTOGUDMNJZXKUUDCCWKJIKOEEEJVFOSPPJKHJMGWEXTPPKBMRTQUCOYAPXIBHEPMTPQUOLWKMXGQTWDXWPBSGCPTDCTKALDHYFVKOSSHDNIUGYEWQLRURECJABMJLTIEDOOHTLBZWWAFJGBWNGOZLVANKOPDKKDALQIKMOVPMAOYCOHEWOFTFJIHOVEPRSWCUDKATNCMSITVCSJKGPYTAFDKPHVIVZZRRZXGQORWSOLMHSKFRFAFOFRRVSBBZLXWJKAVEZDBZZWMEKFZKOTYXAGZLUBLAQRAAJOOLBFMQPJUGTNGMDDQDWNXAXPASLPAZXIQTQPZUQEVJTSBVGRMPQSCCBZDAQNATAIJYGVHCSJAUKALNLZHTCRXAOMDTJYXQBOQBBXRYHJNQYYWFXZARMLKZIQVNAYSEWWOFVVSGQDUGZHSQMEGMUCKRINQUJDSUBBUNQVTEDIPKRMALARLPODJZIOLHSMAHUWNBYJDZXRRUGBGLVFEEBOHGXJNDLVJUHHWZJDZWSBHXEYVWCSSHIBRCNWWIVYAMZYMUHPLCZLQUGRPYLACVJTQFZEBUMMULIRWPJYAVQURPMYYIYBJPDGMOZKHLYNIPRFVODBRTUZETZVRNWLIKODRWAGXHSVQBFIZOFJHTFEJTMOP<...>
Output
1000000000097097097919609907929605000047469900400010046612991960090006009400004099900905200701417027069710421106100009767900170996067907606016600470077160900740977079909725000901609901014909947740674664706099066060004615279177710976790012990627007266096400002700541740699079900001090200904711707011099076776627409117700006074247771090196796006999009690709700590909727094775902610955999696097666600707769060766047799044759700700906704775716900774690679079749949019000097000920570667145469609061406977041916600679627711002977999901709070700709706670406007067406959904290004090697704009970000114410777460710009040007044009911066900619911606901974000711591074006771900776574270997962000700170100747715760640907407709991907204006070090605901211049400709460079779904006270060010401910702000666700007795710070670599402756905995270469079400104177961071000005629069104457971006697070629106500616916090060069000094926600000100507191175747010906470169500510467600075470000096797071901020740079944516410426109794607000079001706040664077<...>
Answer
1000000000097097097919609907929605000047469900400010046612991960090006009400004099900905200701417027069710421106100009767900170996067907606016600470077160900740977079909725000901609901014909947740674664706099066060004615279177710976790012990627007266096400002700541740699079900001090200904711707011099076776627409117700006074247771090196796006999009690709700590909727094775902610955999696097666600707769060766047799044759700700906704775716900774690679079749949019000097000920570667145469609061406977041916600679627711002977999901709070700709706670406007067406959904290004090697704009970000114410777460710009040007044009911066900619911606901974000711591074006771900776574270997962000700170100747715760640907407709991907204006070090605901211049400709460079779904006270060010401910702000666700007795710070670599402756905995270469079400104177961071000005629069104457971006697070629106500616916090060069000094926600000100507191175747010906470169500510467600075470000096797071901020740079944516410426109794607000079001706040664077<...>
Checker Information
"100000000009709709791960990792...0499500290000006064700070000061"

#2

6ms / 8820KB / Accepted
Input
UWCHZGTNMWNGLKEOCWNBGDWDZCOJXPUNLVVXLOXAMMVXYXMLUPXTPWRBKAYAETKZUNPHZLVXEFRHWZHCEJQJNFWGWFWNDEAZQQLTADZRGPAKIYDMGAPKLKXLUVGMALZCJDJPZKLFBWVDPSNDSVDVTVVSPJPVKENHLGWMHSNUYNTGNNGTHWTFGACERTKEMFMXRXUMRVTBQHTUBHDJIRMPBZVHOUJFEVFJEYNLZVZKLCZRRMYTFYBTYECTBUUBTRWCBXSNHSNOWFFYMHJSJWMCKWVBHUXDTDFHEFZGUFNRWUUQFCOKVZHCOSNYBQNBXCHVHILPPEDYPBKGJSXNRCXLOSUUYAUYIUCZSHIYOYJRTMNHYECPAUMHOTFZIKQMUTTDUXOGEUVBNOQBWMTIGRQILBQKNBSREVOGVKMSYEAFOPNJXIYNGQQHSMVPQJNZNULVXWALKIVMCCDZVYJFJAAQGWLVYNPAUUFZBLYILBIJWRMHWIFRDWFTFAEBPYGDHXAPRFZYGKDABTIAWRNTZBZAOQUQGAOKSEMGEGXQJFVIUMUBPNWSCRWMCVFJSLQOMPQPPOWBBDIFFQQYZZCPYXNIDQSRZFTUWVQASMDBFOITEPMNFHPLBRSJWBSLGYIOQFQWIYURTUZXOBVXWMCRQLXOPKTHWYIYNXJIMGWLHLUEELWSKQFDWDBFXFBCRTCCWFNFROTRCLKZHXKBOVUAGDEGTEAOCIFUTXPUHEXGLAXZREAATCYOTHSOTTJCQJILRPOIOMPPRADQJCJHRHUUVFEDNMRWJMAEZADEXKVSIASQLQAFFDYKUTQWCWGAFRVFDYSSFHJRESFTIEIZZFALNMZIUREAPUTBFTDBPPKLVXOYTJKLYRWCZCPCNHXPKDGACVERXHVMFKVBUDOTTKGFAMENJMARDULWFWMVRWFLULBIQBSQIHDYBZXRZGHZJSJFJMWTVULHGEPZZTAAKBOAXRCPTPAQOFANBPHULNYBNMRXKANAGTJTQGADKVESIMORLNTH<...>
Output
1000000050005602000705050029791058875273558737551970909763330060109005870490000009990400040050309950350909362355039656751805350095990654708597057858088799986000500507013000000000040300906054579715980790017059295970802194084903050806500995304370300071170900777007020443509790506087017505400400140901194026800027037907700802599053976097709075271133132100702323990500300931502040269510051720018702970502099257960779082086573034290972300990758999000158703562850050839493390058309311407532572909500249504043079305073994030653702309000703291903267050007994821517900709050849759259999207752449930009370259790401089375574220095040957979077503229490231901072787050995729600032307925005051005076945057474709000040492090560076728130500003202410791007053709033003200720090992599222599935990909011840505909530035076872379593445361090000349845377409907402020043505021903910740579965872309653900009000796503080970854687152006043500953951504058904515729779205370790000979495008150009000336723790909392430790150370597630300909035680725295000<...>
Answer
1000000050005602000705050029791058875273558737551970909763330060109005870490000009990400040050309950350909362355039656751805350095990654708597057858088799986000500507013000000000040300906054579715980790017059295970802194084903050806500995304370300071170900777007020443509790506087017505400400140901194026800027037907700802599053976097709075271133132100702323990500300931502040269510051720018702970502099257960779082086573034290972300990758999000158703562850050839493390058309311407532572909500249504043079305073994030653702309000703291903267050007994821517900709050849759259999207752449930009370259790401089375574220095040957979077503229490231901072787050995729600032307925005051005076945057474709000040492090560076728130500003202410791007053709033003200720090992599222599935990909011840505909530035076872379593445361090000349845377409907402020043505021903910740579965872309653900009000796503080970854687152006043500953951504058904515729779205370790000979495008150009000336723790909392430790150370597630300909035680725295000<...>
Checker Information
"100000005000560200070505002979...0722800933970905758730080955703"

#3

11ms / 8804KB / Accepted
Input
QRNUQCOCOXCCEJSSVFQAQMXQRIUICXRPFDBSOZLIPXHUQFIDXAOPWSCBJRRDUJCGNPQFSDWYISLCVBTDGJXEZMFXBKYVHFXTCMHPCJTEQWKXYMBCTXBFCLSWHKAFSVCKWRFBQSUMVIFLTHFSDABPGIBWLPVGDKJHHKDXUUXAGRBQYVQHUEQSDHVPEJWXODCQDPVQZSNFTYIJDSYNICKJFSLFUAKHEQSVHZDSOVQCEXPHVHHGHTYPJQUJTQHEXVXBMGPYVKMBEXXKNRJDDQDCZFADOSEPLVREUFXVAOFTFFWZHJXQHMNOBEJSPLOCNIECTRJAFRMELYEWDEZYIPVPFEBPEDTKSVDXYNTOWGAOMDWHHBROQJMDGAGUUZZTQUJLNAHDWTWNZCZAPHUEHZGVJDOTIJHKCPWUEVDKWXCFLMWPUGSQDXITWCFUOBWVTJFIOZOPSOCEKJYSHHAHTSSNLULHMNVHQPLLHXLSMVJOEINFSGBKOBTNIXONRWZUJXCUUDJVNBYEMNBIHPBBSFKZQALKCIUFTVPHHCMGFLPAOVZOLPLVLHZNNZTEKOUWQUMPSCMRICNGGPSJIVCIBBXHXWLBUWMYQCGHKDGABILUPNYEWQVSPILPVWDFUHTHCGSNNVLPMINSTPYESBEXRYZLSWLCUYTJGJCNHGQWONYGOKRXAOHJDWXMMEUMMYLQGAHKRPDMHOVAZABXXYDHSUZGTSTVBWGELCUPVHODDPSPTKDRDKVZORVYOHTDUHWCHQNOVHZTFUCUALEOGMSGEIZPVHSDTWMIYHIIINGYPBWNKWWMXQOCPFLDAXDTSHQFZFWFAQFYFWENXAWSWRBYOVZGHYXROPRTWTAPQJKHYAGYHAEAXYLQFKBXXTWBHYEFYOBSEDPDRDBMJRXIRRGOUPVGFXIXZGBLXLYEWLURCIKNMOAAEEEXBUPOTDUHMYRRPDXFLUKHPRYUAPPGWQNEKIRHZEPNZLHCXNGJTVCLCEGNDTJSGTVHTICIROFYPRNMFCAD<...>
Output
1000100000000055111416010909000210950909200011900402650900000009021150669500197090009610936101070602007016306690709100560341510360191506191070150492999602190300030000049091611000150012006000010211950176900560903015010430015109050110002010090762010071000109692613690003000001009140050201000101401711690001060090052000090070041060060600969212109200735100607069406060090010609490099710000400676090942000099100079003026001036001066209510097601009617019090250003065004075500000601012000005610009015993097090000690000000010960609902995139140309017120006910240190020100900970300610625060900992509109990006090666109030949900206061152902160100700950010269057260590006905600067090000916006903004000060660066601940302060014949006005099757196900002100002527300031900160070006001001097100040009659099210507669609990962960366601002100400750119161411616000465609601990600020767421030649604040601139007690601609500200096000900900219109099900060600009306044000090207000660020010030206042296100390090209000009071000090070597107909001620061040<...>
Answer
1000100000000055111416010909000210950909200011900402650900000009021150669500197090009610936101070602007016306690709100560341510360191506191070150492999602190300030000049091611000150012006000010211950176900560903015010430015109050110002010090762010071000109692613690003000001009140050201000101401711690001060090052000090070041060060600969212109200735100607069406060090010609490099710000400676090942000099100079003026001036001066209510097601009617019090250003065004075500000601012000005610009015993097090000690000000010960609902995139140309017120006910240190020100900970300610625060900992509109990006090666109030949900206061152902160100700950010269057260590006905600067090000916006903004000060660066601940302060014949006005099757196900002100002527300031900160070006001001097100040009659099210507669609990962960366601002100400750119161411616000465609601990600020767421030649604040601139007690601609500200096000900900219109099900060600009306044000090207000660020010030206042296100390090209000009071000090070597107909001620061040<...>
Checker Information
"100010000000005511141601090900...0300499674100956100900070501207"

#4

3ms / 8812KB / Accepted
Input
ITVOUAZUFUCNYVAGMZESUOTFOLDXSUBAZUCTPEXEGHQXIKJBZBXFMYYEETYMSCVFKVRTQMIWXSXYUXROFHTEHANIEQMKROMKEOQXVIEADKIYFDWTNJKRDFXJLKZZROYWSCOTKFGRJQBKIMKYLSUPZVOLTUUFQULHTSSNUNVGZUVGFFDQEZNNEJDBRAZWIBYBUWKOZMNRHXXKPRGIAGOXNULZLHVUYAESAHVYUXQMZQTZJMJCWYZNLYTFUUDQHWLWLAVPAYSVLRYMSTHGVMKZOWIZAJRLRXKLWNOTGEHBGKCFXISKPGFXGBMMYHEBZAPLMEMLJSGOOYTMYURZJBGJSNEFZTLSHFIGWURECUREQQVMWQANNANZUNLETJLBZKBIHEFWCZZUKHUJTKEICXUZZSRJSAVGFZAPETCVMMQEAYNNCBFJINKTQSNAHZPTBVQSMZTVKGBZKRKYDBUOGJZTKFNGCEANWAJULKIJRTMOCQEVBDZIFFUOIEJFGYYIMUOJCEETXZZMPYQTNSBVSYDDOIVFMDHXQGSBTJGZCFVDEKKUOEIZWAXQFAONJWFOZJJFZHQOFSOPSUEAFCITGSGVDOWISQWFHFZJEKYRBTTQZZEZADHZTLJJZISEYFIRMDAJPOHSAQQLGCCYKVTUDNAGTETJOOJCQOOGLJKZYZIVCZLBQHMYZTQICYLOCZSUJMICMITTUWZZWUTKZKIZMJPCLGCBNPRKSCHTPSBGUDRXXUVGUWSWZASGIKKQLJXLRRFUIKQWPYEWTMNGCAQBVFVMEEZLQZTMPTHZSQMJYXUWBTGGAXEIDOSRPQELLOJDASNJBTXYYAQHDMCSBDYIIAFBGSSPLDTUUTTQUPDYKRWGEXMISEIBIWQZVQJNKUKRKFFQSECTNZOLYGQRZJMHYIDHZCUHQYBAPJJOIMYXGXVUQEPSDDKFFVQDPBXZKIQEHXBMVUGYXGJVDOZIFNOESOOEKWCGCKMZWTKTHSSFDAFZCJTCGXFOXXJUBEVKLZBPVJUR<...>
Output
1000000000235005404600000767600000203474549712400070455440546200206094177675076004044031494260424097014062150670342660747200605762002056490214257603000700009074066303050005006940334460600710500720043647723651050730707400504604050794090044427503750000694777700305607654604504200710046767277300544052207162350750445440003744474650050450604054634000764015706420649904790330300374047002014407200024040241270006646005000340204494053320041320963040300096400025002625600054002035240370407214604029400601000014405551400424407004359036006566010046479560045020064220041070790003470004400490060360400210565060716970400442560009004006400744016450164604304609975225200063050404004290057420501020709445009125702060441241000700700202104432752033626240360506677005076700651229747766001297354704352090000444079004304069445707005507416066394770460634007550946426065110005663760000090365267547416410179009432026200964203007559604445164020495003440145757009436662000963070219447040055754060010304600427252240702046606000240257007740040270030406<...>
Answer
1000000000235005404600000767600000203474549712400070455440546200206094177675076004044031494260424097014062150670342660747200605762002056490214257603000700009074066303050005006940334460600710500720043647723651050730707400504604050794090044427503750000694777700305607654604504200710046767277300544052207162350750445440003744474650050450604054634000764015706420649904790330300374047002014407200024040241270006646005000340204494053320041320963040300096400025002625600054002035240370407214604029400601000014405551400424407004359036006566010046479560045020064220041070790003470004400490060360400210565060716970400442560009004006400744016450164604304609975225200063050404004290057420501020709445009125702060441241000700700202104432752033626240360506677005076700651229747766001297354704352090000444079004304069445707005507416066394770460634007550946426065110005663760000090365267547416410179009432026200964203007559604445164020495003440145757009436662000963070219447040055754060010304600427252240702046606000240257007740040270030406<...>
Checker Information
"100000000023500540460000076760...6477050763504104036340520971601"

#5

13ms / 8828KB / Accepted
Input
CETDQPKLPYHYDDFYWJUYSNSZEIFHPGIYPXXLWGUUPZOZHALEIGTJTEXOOSBUDKRRDAGPBBQXAGSMYDIWYBUSDGEUGQWRHJLKTRVPXMARVVAHKAJQHEGHVCSAFFWHHMQYQEJVSNZOKPTXZFJWSHENXYWUNPMPDHXJZVUAMTSOGOZDFBNGAFZLFQPETCVHHYSGVDVFTLSMZUHWQRKQPFETTNIUAJSRCMCQMXFUEBYZLSNWFZCYUCGWSBVYDGIWWZYDFPLWNZZFMIMMYNTSXCNFGUPQRWIVPHTEEVAUSWGFEFCTJCAPXFOMFIFQWRZZFHEIZNXALIVUKHORWMNEKJTVJIWMPPTBQLFJSVRRYVLATYXKFPFCZIEJEZHANXPTSLNPPWCENXYTTPLZSVXPVOYNIFEFYLKDHGOVYJLZILASHOZVTVRJCZGUOIGWLZZSNUDSPGYHYFUMLIFIXOZJFWIOMCRYWXZVPMUBWTTDTRBMTDMSMGEYASCTBIQPTUPQLWCEERBTYZDXVJOXZRCSFBPVQJTNONYYOMSPJUNQFPUFNBEXAPUCPVFOJOPPLQZWZJPAEKLWBWXITVXZKFPBABJOWQPUDVIFYZGPCCVUIHABQNWMIOHRQHWZXYKIACQTDNTKBUOVPVIRQOMAUCCHXZHRIBFYTAPSVZXRFVAFOEORUCRZXHUIFOFWGKENDMBXVJJSLJUVIMJZPRWBLLZUJCHTSEEUGGTFTOQNCQLFRGWDZYBFAOAWPTOZEPDHGSADCCVDSFIAQWMDKBNVJLONYCMBPLVEVMANQBXVGYKTVIULJTCHARBPSHKXHBDIJLUPDCJSMXMIYNRLNUJIHWOCWHRMGLIGPDYIRFQAIBZCNJDAUSZRAMRZOWSASVTVIGBNIYRXECMYONLFBKAADQGFKUYNXQBXAVDVSASAEMVMONBXCKLVTIHBFQGHKSCLUMLLOPAMSSZTIDTUVRMFIETOTMNPHZWGYIERSOAQFLQIKKBUGRYYPJAYTAATBCLQGHSLVZTG<...>
Output
1000000009290019733962650812088901107833053522008803001336330044028033012864908793360803807423000420142422220230208221621172240900326253000151376202197320400213523240638350132821501000012229682021006453270400010002832364141041130395062715193187632908877590100725514844920611218300478202000223678101103120113418107455120852120823023474200302387400030013624492020910101158030522210060200710219000056210239281019000283293058026235202431583388705562306089291340818135317834149715204337000043400464809261038000300071004309501233154161302030232993460332010312301203102133300005753020007371802150103233370030281958011238223027483240275190821000200333202840342311215248319020625141221303431451238131780020431233603328435047300533120600388010302100148705931232700350002862011206182074003223032914300202422031289002830301224306201230830300136414892402338273172448088009841028351230236542445376262028832894101493201302200810392103122026262042432311002082310820610340030246650800324418003042025789804632010080033849903290220310082602508<...>
Answer
1000000009290019733962650812088901107833053522008803001336330044028033012864908793360803807423000420142422220230208221621172240900326253000151376202197320400213523240638350132821501000012229682021006453270400010002832364141041130395062715193187632908877590100725514844920611218300478202000223678101103120113418107455120852120823023474200302387400030013624492020910101158030522210060200710219000056210239281019000283293058026235202431583388705562306089291340818135317834149715204337000043400464809261038000300071004309501233154161302030232993460332010312301203102133300005753020007371802150103233370030281958011238223027483240275190821000200333202840342311215248319020625141221303431451238131780020431233603328435047300533120600388010302100148705931232700350002862011206182074003223032914300202422031289002830301224306201230830300136414892402338273172448088009841028351230236542445376262028832894101493201302200810392103122026262042432311002082310820610340030246650800324418003042025789804632010080033849903290220310082602508<...>
Checker Information
"100000000929001973396265081208...0322031010333189330110136373546"

#6

3ms / 8808KB / Accepted
Input
XEPYVLIJRQMPWNFAPGCSUIVXFYFOHPLNOQRMASIOXEJHONBITZTIZRGDFRWXULLNGEHXPYMPPMVMTQZURQCZWIPYTZDXUHLSLZXMRMMLUFSEUTKBZGCMWIIYRDUGKSSRRLDZTSLGGEDPFRHLMSBFCEWABDZYQTJMNUVHVQBWNORRLTAYPNCYEBOONYQPBIIHKHAWXVNVFNCOYGHMAIKHJOWERQRVXBMEEOXVCBMXRTJNYGXHTLDIFQPWHKDPGGSFBGVMIZCMKEXGUCFXXXXHUIUUHSXRVNGSAMIZXUMIIMIHGJIOAUXWDSHPFVQYQTBBFZUPOQCDLMMPMUGIMHANWFFYVIYOMPAFUQEQNTTXVIAAMKVKHGDWXZJXXOOIZLTCKJVZQKGHHVBDFSFCGOWJAIPBAYSZDYEGTJRQIZMVFFAJWFSFSOTXQLRQDGEXRGIXYRNCIVVDNGAWZNYCHXEUKBWWKPYJNZUFHIGXZBPBKLTZGDZJVAXYQWHHHFJDNFXASKAVTMFVBJTWRNHAEBKXMHNJBJDLMQQSIDUAURQVWALENRSQPVFVKCBGUBAQEXRBZRRWQNRXVYAFHAEKOXIPBZVBOYJCNCQDZGRMDJGMNKWYDLJGDOBOFRZUYNHXCGQHHNHTAGYGEIYATMHZZDTQYZWEYVMJLYIDDNMNBYQFEJHYLZTTJRTSUUZYYDDCHGKYZSMPUEOJHGFHSJIQDHKYXZYQLRXLSYZBEDQJNWAASSDNUYFSLMSOGGKYBSIVYEKHLACPXGHKMQHNBVQRHLTQCNOSLHCQOSBVSHYPFPITPVYZWUFPRUOQYHKWLLEXIHLXVWULXYCHHGPJDLNTBMOYIYHFNHFORKPGWCHSLJVUUXMRJFNBLOCRGJTPSAEPHXHZXRJKVOPDTLOHTPTUTLRRRTXUKNUWARHEUCCIYEKARZSVATGFDGXBXBQOTBPZDQUWHVDDUHFFTGWHSNPKJEASSYAXQZTLIOFTITNXJYIKWFJFDQCZTMTGXWSPCZXKJKBT<...>
Output
1000000023300082088330018082200023232302100220806960928882013000802100300303639323890000698132030913233038303628988300002838233220896308808082203388800288903603030203800222062000800822003080022220100080820823202202002320183002108831260008126080830022808838880309832018388111123033231200832309133003028002231083208030368889302388033033803220088000023028330306610022320228801901122090682009328220888388820020082039800860230930882008383261302388012801020800080820900821032800200009382081980820698890021030222808081232206380806020220821320080803333083232300200023300802888382301289220302100282202210089082008083898238083020080088282829300218832202628080002632998630900003000088030803800200966026333900888282093303020288230038220190302103098083000223380308303328820830000220280182233208032206380230283238032008006000903802323022000010201003010822800800683200028028222080823000331320808028280603200212912020208602260636022261320302220388000222930268888181832680983302088328868023002002330213960028606010002080883896368103089120286<...>
Answer
1000000023300082088330018082200023232302100220806960928882013000802100300303639323890000698132030913233038303628988300002838233220896308808082203388800288903603030203800222062000800822003080022220100080820823202202002320183002108831260008126080830022808838880309832018388111123033231200832309133003028002231083208030368889302388033033803220088000023028330306610022320228801901122090682009328220888388820020082039800860230930882008383261302388012801020800080820900821032800200009382081980820698890021030222808081232206380806020220821320080803333083232300200023300802888382301289220302100282202210089082008083898238083020080088282829300218832202628080002632998630900003000088030803800200966026333900888282093303020288230038220190302103098083000223380308303328820830000220280182233208032206380230283238032008006000903802323022000010201003010822800800683200028028222080823000331320808028280603200212912020208602260636022261320302220388000222930268888181832680983302088328868023002002330213960028606010002080883896368103089120286<...>
Checker Information
"100000002330008208833001808220...0032182263803230102083028802003"

#7

6ms / 8816KB / Accepted
Input
BWAIXOMMBWSGRKZQODBOVGIKVOERLZBFVPDJLFMJYPVNDECYLUCNFJIZFBOTYAKNTTLPKEQBIVLHFISSNZIHPKVXQZHWWXDUMZWPQVHOTHRBHTGHSCQAJFYDHPUFTSMVACGKPSWYRVIRZGBVNUKMBAKYNTVZTUIXGINPLQWOEHRACPILORSFJUUGBWMIJDAMXHSOOLMMKAXZZUFQQXHBMWQMCKLPHFXFJTFPRTZLJCJKMAXFVHQMOTNVKXLNYGUPALLLCFAELTCGQXIQHNRKUTEBMQZUBNSQESXDMBPTZWOKLLYLKXGIIEGKYLOHGVQVVPTRWBDZFNCCNUQVWQUNHTGRGKLOFQUNFTJMSYLPDDIYODZHSXPTJCILQMQQEGBGGVPHACACFAEXCLIKENCLQTHXMJJSLZVLFKFUGILETSFGBESQXRBIDVTYQVFCUYVXENYMYHZTNKMYHUPIVCUCUTTKCBMUVSXKRRPKNAZOJEBPZFZOVHKIWVHXILTTRXNMCUAILPFESSQXFCQDJZIYAZCAPGXRCHVYHEUACWKAYPWOUHFSAHCHKBRAXCFMEIWJEZVJEFAYKSNUVYOLUNOYXNOLDDIORXGWXIXKJJAEPYGRGSFDEXLXAIFAIUAGXCSABOIAZBQQHESHVQKMWPZVWVBGWTQGWHZHYRWQYQNSYFYWNOSBHIZJMOSNLHSZWBFZLNCMECSUJYRGXSVXHDUVSRPCCILCVRIPXIOIXWHZDUUDPLEGHBZIVNDARYDSSFVUSBDDIETIUGKNUFFXWDBLFONVVORDPLLSELEAFYOGNAXOAEJJHYZYUGYACWWXCJUSXLRFRXJDAAKHLQPKPXANWWJDJKZKPFQYFWWHFPUONWUNDQCBEXIHZMBJCZHIYLUFJVTLEWMTYPQQGZPJRXEXJEVXVUOXDHUYVLGHNUWLTANUMPTYQLDEWVJZWETXQZDPNXGKAABNOLWVNMRRJHIMQDEMTBTAKHMRVOCRGVGZBMIMCSNUASCPLLLYLZZELZMR<...>
Output
1000000010007352051050035017751358507300985351397933300531039033337831210570300035008350250000590508250030710300032003950893300503038009750750153930103933553900003872001070380707030990100005000000070030055932200100203378030303387357030300035020033530739098077733017330200203739311025913021005018350037797300001039700052558370155333339250293030703703293330009785509055000830307202210100580030330103703133723000000755733390071303011020710553925339950139090533309098053939333310950037783305001185350503005000733703039007831002033250509053080073059019030309800903000303170033010001550130930395907930903075500700000030001890700351070003009000300100051220100523008550510032000509702923093903001005000037005013573301309097000500595078330735708000000055995871001505350795003590155013090339330051730355075877017103900300001000959909030003090077370050030728380030005035383293000389030935231100050103500979305371003982205807010015059005099570039073039083927510505013025583003001307053077000025103130300750370505100030390038777975517507<...>
Answer
1000000010007352051050035017751358507300985351397933300531039033337831210570300035008350250000590508250030710300032003950893300503038009750750153930103933553900003872001070380707030990100005000000070030055932200100203378030303387357030300035020033530739098077733017330200203739311025913021005018350037797300001039700052558370155333339250293030703703293330009785509055000830307202210100580030330103703133723000000755733390071303011020710553925339950139090533309098053939333310950037783305001185350503005000733703039007831002033250509053080073059019030309800903000303170033010001550130930395907930903075500700000030001890700351070003009000300100051220100523008550510032000509702923093903001005000037005013573301309097000500595078330735708000000055995871001505350795003590155013090339330051730355075877017103900300001000959909030003090077370050030728380030005035383293000389030935231100050103500979305371003982205807010015059005099570039073039083927510505013025583003001307053077000025103130300750370505100030390038777975517507<...>
Checker Information
"100000001000735205105003501775...3539053103700500505900008030301"

#8

2ms / 8772KB / Accepted
Input
JWFCYKEOMQBRKCFFFVWIAJBYWIXGKVFOVNFSQZVHLGUTIZOGFODJMFLPEBIGJJGAKCPVAYRUOIAVKRVWSQNKOAOINUNRJWOAAGPFAUOBWPBARIDLODOHNXIDWIJILHYPKYOXHXSKZCXWAWWDOAOJUVJNKYDMEPBEZWNXXNXIQNCROETDIAKLKYGCUKVEBDVAQTYLKTIQEGHCYNXVBBWBWXKWUKGUEVWYENCADVGVECYTLTEFUQVVSXLGSLQMIBKVPRHKLDPSTKXKUXAPVHKUNGKEEWLICOHSMMVOWZYAWYQUJMYKKPZMOMLNVEDYBPUWPKOFKUROCFHRPMONNDIDEIWDLSMWWHWGHEKMUFIBWGOWSDRQCLUAMHVSOIEQHYDSEMNXUQHGONNTQWXJSUIZFMOPOUHWZBGAPDKKVEBLPFNGOWHYAKQEYBMSBHMCMFHDPGDVLEWEDLDGPG 717055107893478819
Output
100000007170000005051170050705005809135477885307001170780757117100851008051500509180010588801001178018070871051701048051051574080000409030001001010185180017087030800805180000815107007080507151180708510740080577070000807805000801157500087800815590779717570580407189800080185408870000750049775003010018170008370778501078808000080000408708815105017970040740078057070091010781745905014019078081470888100198530708084037718100507780870040101007797470704187157000171787
Answer
100000007170000005051170050705005809135477885307001170780757117100851008051500509180010588801001178018070871051701048051051574080000409030001001010185180017087030800805180000815107007080507151180708510740080577070000807805000801157500087800815590779717570580407189800080185408870000750049775003010018170008370778501078808000080000408708815105017970040740078057070091010781745905014019078081470888100198530708084037718100507780870040101007797470704187157000171787
Checker Information
"100000007170000005051170050705...0101007797470704187157000171787"

#9

7ms / 8840KB / Accepted
Input
OJILIAXWWQLIWIILEOZLDZZZEGOASCZETYHQHXSKUEKXNFVXWUHSESDPXECVDVONTHZHYAOQKYVMQDHZAZMDGVVSFMMPKFNUGXGCSILJTJDQZPRQPIGQKTLTLQEISVSVPMJRLPZLSBCJIBVGSKDUJVOAHUTUTBMMWZZNGMDWKFCBQJAEBBCDALJVCWXVSYFCULKWWTBHEUNVDCKSLYFTMSWPIMESUDWTGKPAUDAYXQJQWTECKWBRDREOMAFWZADZLASAVBNRACOMCEKTNFAFUSLHMWBTMHPZQWRBYXINPJKNSIWDUDZEXHVGOGCZTBMFMBOTKEPOJLEXTSYWMBWUOFSDISHLVRIBSGPCHHAHPXIQMGSGCMDTMXEHXDEBYYSUCEMFGIRKCUUJUFLARVTSOWYIRCKNVPAATNJIDEPNFQXHREKTKZSHSMYZCMVPNABUOTEBCOSNPNZICTPJXQFIMZNEBDAMWJQACXRMAAIGHCQMVXPQBCGOHFQLETSLYLBGIUDSWARCKKQUAOOIEUAKDODFANTIMRJVHKWKQDJSDSGWMTIQJZRNVIGGIUUVYFHFSIKMIMWRAUGYURBPSLJAMRDMMLJQDGSPBPZELIAQYQETGUNAINWERTIEOMBQQXFRVJLOLMHXGSJTCJVQUQYSHMOMVNGSSAKTGLZZFELOZYPWVSHMAKAXBTOELQWQALMKIAGMYQWXWOOJVYYXZCZSGDKXBZFUPTPMQMWYBLZOSOGKPAMQZGRJKNDQQKDEGLFBZECUDWSGCSHKIIEINNPQWVJXPVOXCKCMSCANRDTNOCQDZZGXBUTFPSKWZQYHJFIBCHGCKFIHJYULDQQDSJHTSAEXJVMYGKHIPUMMXJBOFETPXJNNTXVVQLFAWNWHEFZSEZOWSNVTOUYTQRIRLZTPYPUSVBYNIHSRCHMAMSBDTDFOOXHXNHSVDLHOEWIYHNUCTATSDNRJBEYUSNDKRDQFWHPIYQCOKOMTHBNFFQCSQFZHUAGIQPAQVDDSNFWFGQGY<...>
Output
1000000000000000310080003410670384909065135061600196368803768616890940105462089000284666122851614047600080800810804058080030666682010800627002646581061091818222000642805172000322780006700664171050082931668756041826080236180845801804000008375021813120100080006062610712735861011609202829800012400680566008180309641470822122185381003086402201116806906102648799098000246472882039083244617321401571101100168610401756680086008386100913585069624072686021183271668600788000102063280200007012000497026080274191003860402401860017550101103105818106802106950508068640280000166044011641916052020101441128600021822000846828030000403841600603180312200011600102904608706010469212664660584000130104806692050028130000002500424000011064400706485020118882020420016145802004105680058340120371806476950030668006008610757267061886170800402181865000490102794751090410800860986030062445908122002113880066806600100609310630106668114801010088481662460961792026288811109069668091300496178086861023416685180109804071512892611076010910400800688661014044<...>
Answer
1000000000000000310080003410670384909065135061600196368803768616890940105462089000284666122851614047600080800810804058080030666682010800627002646581061091818222000642805172000322780006700664171050082931668756041826080236180845801804000008375021813120100080006062610712735861011609202829800012400680566008180309641470822122185381003086402201116806906102648799098000246472882039083244617321401571101100168610401756680086008386100913585069624072686021183271668600788000102063280200007012000497026080274191003860402401860017550101103105818106802106950508068640280000166044011641916052020101441128600021822000846828030000403841600603180312200011600102904608706010469212664660584000130104806692050028130000002500424000011064400706485020118882020420016145802004105680058340120371806476950030668006008610757267061886170800402181865000490102794751090410800860986030062445908122002113880066806600100609310630106668114801010088481662460961792026288811109069668091300496178086861023416685180109804071512892611076010910400800688661014044<...>
Checker Information
"100000000000000031008000341067...8180378160410171400627928191111"

#10

4ms / 8764KB / Accepted
Input
PGDVUURBNOMASXMAUHBRSKQBMTKFDJERDZKFTDSVITBSUTQJPTQFHYAMEKCOCECUZAVIAYWFXRCXXSAORKMSTMLBFGCMKIHLDSPMYUUVDXECLIWNCGNCSXDIMFTQJKXGYJWIICOWDKNTNTYKZWYAHSQRFURNLDCDFTMCZKCNGKILFJCDJPUIOUKLPOVROCIXJNFYUZFMZQNEHCSZVZUTPPYIRZWCLZZSRTDXIIYLEPXCMMHHPLLTMMYUUCGUMCEEIWQBQZDZQUQIHXJYOWFOWONJJAZYKODQJPKYZFDQJRKGGRBWDQXLQDCANBBVKIPQUIMLPXYMLKRMPPXJZBVOHKFWDUUMGUNQIWKIDZOHTGDXTYIEXGTRKRYBVWKOKJLRMQWINJPGOQDSIWSHJCXBRNVFMLFKICZNBDILRKZAFFPILSDWYUJCQXEIUIKXMJXXIJKFWHQJBBMIEHYIEXZWWLDVWITUFZVWEGWLLBALGFKLNXBEKPBGJTYHMNEWSZULSFGHEGKMCBOMXVLISETYSWSAUDRTNVYIYDHBTYEVBSCOTHTKLNQFCKXCQHCLDHZLHVBILDTIKPPSZQTGCPSBMRPRTGTAWOHUPTXRKTQTBURYBDSYFGOODBEQRLSHURWCTDYHZWBVEKXESCVVQXFNPXIJNLYHXFSMBXILBEENRNFOWWDGKBBQTFBYIKTAZHBFCDNWLZOTLKMDYKTBVSKMXSRGGQIQXJNRHFQDETCJEAMIBSTCQNRRWDKOPQSJFZQPSOQBTWUSZZIKAFWAGNSPQFFQURXWMSHXEFZTJQNGQKFEAEAZOOUJKQWGQHPWBJWVVHGXIFTNYMUNKJPTBNNHZEHSJVCQGMOMQEDDNIALUZCMBUDHSECZIZOYTLIZZQMIFBMJJUKBTOVIDWOZWMPOSBVAHOOSWKRPXYPINPJWOIISXACXWYYVXGUGVZGYXIKRVCQVGZHCMNLCIHXIEKLNMSFMWMIEPJDXIEDMXKELSSEYLTDOFVYOSDTELYOTHKTO<...>
Output
1000000000623362050039406594007008945030250305401544572679909790820227743093332009635610409692510316700003791270900933026454093070722907090505798772534040001090456989900921409001020091100009230047084684075938080511720879188305032271713966551115667009006977274048084042530707407000028790040197840400900007043140920000921402611376190611308000594700060004279208055003572730509070079090106472001004032735093000046149298000210982441213077009437202936033209475400062757273877100725048077071102104910307910005756077380134057096900630123757373200050072705057700390555910449939459105815002105291138450913060105052705015309545000700374000007401350079507587007937390043401320017534360321077000407700900454072952850490071805196079500396330004243000544075907262035940007090143048413040570388292472003144440037635374850400494727280000947045170070050324507600901500058753009406064700022108960005379828075128846240600090500207087610300250037901371201070223329377703000080732900940085960192532791063467627100327063971337715004070305717055950<...>
Answer
1000000000623362050039406594007008945030250305401544572679909790820227743093332009635610409692510316700003791270900933026454093070722907090505798772534040001090456989900921409001020091100009230047084684075938080511720879188305032271713966551115667009006977274048084042530707407000028790040197840400900007043140920000921402611376190611308000594700060004279208055003572730509070079090106472001004032735093000046149298000210982441213077009437202936033209475400062757273877100725048077071102104910307910005756077380134057096900630123757373200050072705057700390555910449939459105815002105291138450913060105052705015309545000700374000007401350079507587007937390043401320017534360321077000407700900454072952850490071805196079500396330004243000544075907262035940007090143048413040570388292472003144440037635374850400494727280000947045170070050324507600901500058753009406064700022108960005379828075128846240600090500207087610300250037901371201070223329377703000080732900940085960192532791063467627100327063971337715004070305717055950<...>
Checker Information
"100000000062336205003940659400...0744019009078663027641940403893"

#11

3ms / 8800KB / Accepted
Input
XGAKPEMHFAALRJJOCSPUQPROAAAZMZNUZUDGEZPCGSIMPOEAMIAXYKXKGXMTCHTVDIXAUIHKHQFNVRSMIMTVOFOULCIJGOQXKISRGUTZGEXZKTSPWOWDZSOKHNTLUADBEEDWCRKRDPDIUYWZUYBVBVIBVXCXRQTRSMHFLJFZMHYYSUPSHNZXXKQUSZAUMFNFLVFKRKUCFQDROXBTPPKKNXFBWLHHRPCVNSWMEHSNUDFYZANVVWRHRJQZMVYUEKYVHPHKIUJUEDTIZQFOYLBGHLCQGZXYZIRVGEQHLPYUHQINNKUDXQZKDJYXHYSAYEKNZJIBWZNKAERLTFZLNIMRSZMDTLYKCWDTVJFFLWZMKWLYQYWAESLOIATYTCYKVIZZCRJKTHXRVEENQUWMPHZKMOFBMLTDLBLLBRXKSLZVXCNSQIFKSZMHCLKBXQMONMKFWJIQVXMHQWFJAHEUMCTIPRDSLIHCLPVXVRHUMHENYZRTYFJSFGZYDXLRSPIUKCZYQSJTXJOIUQATKQLAMNBOMINRDHHAZKZRFSQWLTMDYVVXUFFVURQYJMWIEHZOYLXMOPTZTPDCAOHDLCAGZABYKTMNNJHVUNWTVAXEPTESKJMCZLDLMVRRIVFMYECYRATYQXNAYXOCYBPSPFCGLXRYLXHUTKTAILDKUZYHSISDIMFFZCMFOUEXAZFSINOTLBZPTCZTNZBXAOHPYPPSICULXBSEVKFBUOIXQELAFAUSYGMVIQXTPMSJSGRLILXKFKXNGEXFSXLREBFGPDLUNWRFFLRLPPUEMDWMNQGXCPFTZFXCNXKJESQEYSAPPWTHLIIIPPOGFUNSPITDPUXSATMDIJYSSAJOADFEJFKEVQQXFDYJBKRVUJWILHSOEOJECQFMMARPJQBDMEMLACGKUCVIYCOKZWSADCNLOHKATMFKCPGBVAIXRNVHZMDZHVXGPXIGMWWTKOHXZOTXIASDLCFQLFWNSDBLQCQJSDGIRBPHMAGUNDEDJUIUIEMFAECDYGZT<...>
Output
1000000010025221070090510007078070800700074001000401101001010018841004000918857040181110204201910475001700170170717877100812008200870505808401770128284281015915700122170011700708711090770001812810500019851121000081127200500887700078081170888750529708100018000040200814791112200209071174580090201009488008197082110170100872427780005211728405770812100781821127700721917007214011101084770520101580089070007001120218222225107278108794107700020219018001724981009712000000140587240020818500000817511127107181257040007197211214090109200821048580007075179721081881011805912074007112101017108001082000702101088208087180100107020072820855481010015011918011101207010021512100101042800710747840117001100107174811227010718721010010074002127080120141902010071008491100727052421010180011712502100820875112520000087089010011711081020790170007102444001010870418001701084217702108102100899118122058027420710120091000502928000200000084101077708082100010100002804158807087081001400771010171114078201921787822909278045200000088082040400100081071<...>
Answer
1000000010025221070090510007078070800700074001000401101001010018841004000918857040181110204201910475001700170170717877100812008200870505808401770128284281015915700122170011700708711090770001812810500019851121000081127200500887700078081170888750529708100018000040200814791112200209071174580090201009488008197082110170100872427780005211728405770812100781821127700721917007214011101084770520101580089070007001120218222225107278108794107700020219018001724981009712000000140587240020818500000817511127107181257040007197211214090109200821048580007075179721081881011805912074007112101017108001082000702101088208087180100107020072820855481010015011918011101207010021512100101042800710747840117001100107174811227010718721010010074002127080120141902010071008491100727052421010180011712502100820875112520000087089010011711081020790170007102444001010870418001701084217702108102100899118122058027420710120091000502928000200000084101077708082100010100002804158807087081001400771010171114078201921787822909278045200000088082040400100081071<...>
Checker Information
"100000001002522107009051000707...8548101000200280109070828081850"

#12

11ms / 8812KB / Accepted
Input
ELLLVXNAANKHIRNCFLNWJZOTTMBWSHMRYEJMLVXSIRFHBAQFGBTECAQHFKNLUDYJXTQDBYTIAWETNBIIDASDMHVKHEVOAXCBRDUPMTLGHFAVNJXUALNLVQUQMGSIHIGDHMFDOJVBAGZOTPLHBVQCEOGCZKVMHZQLHDFWXDGJHTOQTNXCOLNCSADTMTEJSJQQMISNXGFIULQSKMCPNWBJBZQGJGEORVTKSHCQHMNFDOJSEJYRDLJWVEAKTKWTEBBKPXBEBMZJVNKPTZQWXFIBWILFQGGDDKCJCPNWDSTKBBDXUHVKPIKNZYOUIEDQJYRJTRYCYKJHGRJPVOZTVFNBWONIGMVJKYRESFHLZJFEPWDBSFVBODFTVJTPADXODOWNACRNGGPJNXVVEYEVIPILTRRKLFQQSBMHQELGJBIOTJIHHOSQXSMTWGBTDRGKFUKYXARMNLRZKJZPWOKAIRXLVJKKSUUEFDGHWGLTOEAIFXGBPNNOXTDDCPVIFYKZKDSACIOOMLDTUUITMKJQOYMVVSMNOTPFVGOXWDJHRCMWJEIYAWQUKNFURGVMGEMNKLXWDSABQAIUJJKGTQHIOZHOIOMPLXYBJOMRMBAHIGXJQMAHRLBCAZHRXGTZDXBMBOREBMCPBCVIKSTPNWXQUWFRKBSWHBTJAEYKGWCJZHBEIZKANTXLIBJIJKLSVBWDCUNTTJVDQHGDOCGKXRCHMHCKHCWHFPOHYUBGTWUHPHGTXDKNKHVFXTBJISDREVTHIVCYVYDIAFWNTUCDTYWCQQPGUDYRCDIOKRKRUQLCZQHMAMGJGLYUXQSRQABVFMOMLRGNXPVKLXXERZDVVFTDGYMRBTEGKKYJUCJGPINMJJIOMXYHXVVYABPXQRUMLWUEHBZERYTJPFJKXCPHIVNWZYTFZQQORWIACHOKQJCVPEPQXXTVAEJNBOSFUEFGEGFIPZLBPKTXANNYMORLJEJCDYOKZUFOKRAJUYKHOMRXYESWCQPBKRLBRDZPUNOFGUCJEVRN<...>
Output
1000000000001809100142922751907881470009181050512521905010008684025658210112051160967000010900958684720201000408000005857291012607169405022924005059192920070250061106240295200990099062721494557190021180590794015452524219802090950701694914886041010020121550405157240004225101151101522660949401692055608000410028981165488428898040284409220105190127040881910024114165910596120424060969100980224400001810141028800155957051024519241009950972125268201808008700820424190018000400988116201202910110254009026694011802069091997062881270459870097092410290164089714118015800188207217000016905501844022501920919740085497875001204570080590208022260575981579459010924010581180591052401802194205112000200154140090516980224065026992008907090091014908852218040220600000102541968102010980861011028962819554286889619080885092507072420880598505017970820040000018260012628785212008489424107441970800008054058870181052188244140094010012821255981109090549041450020014059918112121142054020000879804149689028190804880097808191954508058624809128941080<...>
Answer
1000000000001809100142922751907881470009181050512521905010008684025658210112051160967000010900958684720201000408000005857291012607169405022924005059192920070250061106240295200990099062721494557190021180590794015452524219802090950701694914886041010020121550405157240004225101151101522660949401692055608000410028981165488428898040284409220105190127040881910024114165910596120424060969100980224400001810141028800155957051024519241009950972125268201808008700820424190018000400988116201202910110254009026694011802069091997062881270459870097092410290164089714118015800188207217000016905501844022501920919740085497875001204570080590208022260575981579459010924010581180591052401802194205112000200154140090516980224065026992008907090091014908852218040220600000102541968102010980861011028962819554286889619080885092507072420880598505017970820040000018260012628785212008489424107441970800008054058870181052188244140094010012821255981109090549041450020014059918112121142054020000879804149689028190804880097808191954508058624809128941080<...>
Checker Information
"100000000000180910014292275190...6471147908560062860754180414824"

#13

5ms / 8812KB / Accepted
Input
ZYVLVZMMUAVIKSJFSXJHNGYPVXHBKOGVWMWDLKGEZVGOJGJQZZGKVUPPFJJRLOJKQILWSCBRGDZPVCRUMHGGAALIVDTTREEJNSXOYWPODCIDWNFHRKEOPGUWTIENOVAOBFCDVDQAKQNZKIYTQKZWJKLPAXZTGTUHQNLMVMFOZEHMLYDARVLDNBSNISOPATULRUKJKVDCKDMGRGDBRYOZMPERNCQKIFQLCRESKSDJADNYPTUOVTDHBMCXDUPOWLBFDLOVKQHUZWRWWNWKPPVNZULEDLGAQUYMOQAYHXCDVDRXUBJSRWNXJSLTJQGWVLSAFULZQSZLWMBPFNVUYCEMNUUCHUWHINQFJQZKXMCALKRLQQKMKKQSRJUBVOIPFXCTHOXMKEFEEEVITICITTZYRBJSLGGYEFCYMPQVCRXGFLFHWINKUJUZOZXPOLJPNCBCUPXIOLHKPGXTGJVHMYSZCECRBXOXTPAENUSARJOFBIRULRRWEPRJVFWIPDWMRSAIAKVPTZWNPWVDDZEBGSUSPFRFYPFZKLDDNJKJULDNJKXZBZJBOMQXINEAYFKEVLDMWUBIMGXPELWUNGIQUUPTRKUIEVIJZVUTSISSHBIXEZZJAGOQYNIOHQVJROTYRBUUFFSERTALXCXACOBTOKYRTEMSYAZVYXRQMMGMALPZBBENLLJLUCBQXZSDVZNAFKFQXVBGGFNCJDMNSIQBISVLXUJVYZQZUKMWCEJERTELKCMINEPXYKXWAYMGLDNSFQSHGVXUCKLICUNDJFKGNRCVQYNDKMCQXDINPMXUOIZYNONYSEPDGMDCFHZWNVPXSAFUTAVYUMJNLSHYGRZAGSCNQHPCKRKGOCMAVVZWSFXFLHSZYQLNHUMUPTFGEAHGKRJJIDKQOYXMEKGNASLKPTARLDQFSQSBKOAROQCVBSCMKWGIIQGXDKENUKBWAUFXKDSKNVVJQVTYROLWOEJBAHVIUMGFUQCHJBQQJFYDIIXEXRNWTSAILXRSOIMBNDJGQWIE<...>
Output
1000010000005793709358030036578080830584108798911185003339960795100876668313066003880000036664495707083736038533654738086045700763630310515150061518950300168603150000371430003060035675077306006059503653086836607103465615031066475739035036070633606030378063307051301868858533051004308010007100306303600697685097069188007030011710806335000640500630830513911500600560115055176906070330663700543444006060661066970880436003106608303380550901710370935666030070353806890300716466607063045070697360600668436903803380670005036185380331468707336303315033595900359501619670100540035400308060080340805801003665004009100670773600411908710507310967606600337466000600676675066407001000610080003166450090066101730150353100688356930570160700009001110508649466405600543005080008035731738000650060539358566010535061030530007010575074338036331850307030600000950730861087651336565876000018730303710105300036384038569903517000458507053606031371765706716067605880018035450568003053755009106067087496030000830163961193030004065867000067700653981804<...>
Answer
1000010000005793709358030036578080830584108798911185003339960795100876668313066003880000036664495707083736038533654738086045700763630310515150061518950300168603150000371430003060035675077306006059503653086836607103465615031066475739035036070633606030378063307051301868858533051004308010007100306303600697685097069188007030011710806335000640500630830513911500600560115055176906070330663700543444006060661066970880436003106608303380550901710370935666030070353806890300716466607063045070697360600668436903803380670005036185380331468707336303315033595900359501619670100540035400308060080340805801003665004009100670773600411908710507310967606600337466000600676675066407001000610080003166450090066101730150353100688356930570160700009001110508649466405600543005080008035731738000650060539358566010535061030530007010575074338036331850307030600000950730861087651336565876000018730303710105300036384038569903517000458507053606031371765706716067605880018035450568003053755009106067087496030000830163961193030004065867000067700653981804<...>
Checker Information
"100001000000579370935803003657...3808031590036036054693373056800"

#14

8ms / 8840KB / Accepted
Input
VQGGJWXPQQJDAVVHAATTLAVNGALJHTGLLFEZPUJAVMGXQXCWKOCCLYKZGHGIDOTNXQQNMGTEGZXURIGEECTEKCXCUVQKDDRRAHKVTKIMNGLISKYNZHKEZDXODGONRADSKEBKHKGGWCORHSWGGDNOANGBRQTPJTJCBYKQVTNWKSLZLACHGLFMZZZWVGLFCBXHSUPYOSBGZITIQKJYZZFIOLXKEZVSKYAZRMFWDPKKNXANASARVGAGSDKUJXCKZNXGCFLULAWMSTZMGAVUPNIESJRZUOCIWMNCUPVYTMDMHSNQCTWSHRBESBKNYPLGZXBVNHYZDJBNWLIPXTYWFDQMMKOESYIMNLVCWRRPROSBJFISLTVMMHGMSBCNWQKMPZTTFUYDIGBNWWQEWLFNAERRPZBWCTEUAZUCGVAISKTTFIDNBAQBCIWPDQJBZVHCQZPFWYLQPRDCRYIGMYFKMQOTARCSNXZYBAUAJAQKMVFGNUBPVNLOQSBSRBQXKSOZVSSXTJSNZNJOGFOGJFKDVVMVTNPOTCRPJMASDALMURAGSTTUANTKBKMFWMLROLHKIJACURSSSKDHFICTGJNVMNNGUTNDTUIKZYKCSDGLGCNXUUPRUQQZXHYRJNGMVZPNOAPKHPZAUYMRHTMKIJHJAGGKXUROXTPZEZPRTWZFABEJGQZKLMIJVZTCIBGXBBMQPQKLQHFIELBVAUAUBHADNMRRYVJXFMNBTDMAZDKLBHDDJLZFWKOJPABCVRFSHZVHHFWGPDPKNJYTUIANHLWLFCUMTOVATHAWRSYISLNHWAFAZBFPQHNAZTXJIFSNZNOLJBFAQCEETMDXOYDFUPLRFOHENPQFTDEEBPSDLBATSCDMAQNVHTHKLJATVXELGQPHIFYTYVCLWXBQZEXNVUYCBLADSZJTJZYWLAPHSLFKJKCZJAMRLUKHPUKSWADLNTYTWIFBNWBBDAJBHZTITJYLGDLLOGHHERJJJQQTBXFFVACKGPGUZJHCRYXTKTRFOUJKOAOP<...>
Output
1000000000004110444474180470040775180204160000608866728800050848000860410802850116418606210800884081485680757828808180080088840781180800068807000088480180400406128014808778746007568880107561007202871085450802885587081817824886500088804847481040708200688800657274067486041208517088286506862012460607806407081171882070801180280018075004205006688172568716088088710557741660067168008608445220501800010758418808106412482601457844550814016500000181060805027008068250625860844867808214240408615082101878071781008788177040788808058005801161480846800647047628407442484818650678870850462877780055640081688024804258828670070680220820080028080618088408008422680468500040080288040818084085411000887650184651001160008700551711424210408688210056814064808710000785088004161857081005000008802425480707562648144040872577800454815000848400557888870154061146008205207858018005401110707144760640810408704410170000552421670010810812261740780408207400775808680468728002870407842405518011040108454027007780001800000410551468000280068204848582088480<...>
Answer
1000000000004110444474180470040775180204160000608866728800050848000860410802850116418606210800884081485680757828808180080088840781180800068807000088480180400406128014808778746007568880107561007202871085450802885587081817824886500088804847481040708200688800657274067486041208517088286506862012460607806407081171882070801180280018075004205006688172568716088088710557741660067168008608445220501800010758418808106412482601457844550814016500000181060805027008068250625860844867808214240408615082101878071781008788177040788808058005801161480846800647047628407442484818650678870850462877780055640081688024804258828670070680220820080028080618088408008422680468500040080288040818084085411000887650184651001160008700551711424210408688210056814064808710000785088004161857081005000008802425480707562648144040872577800454815000848400557888870154061146008205207858018005401110707144760640810408704410170000552421670010810812261740780408207400775808680468728002870407842405518011040108454027007780001800000410551468000280068204848582088480<...>
Checker Information
"100000000000411044447418047004...0067148688464180608868002105800"

#15

7ms / 8764KB / Accepted
Input
UTQZHWFKQIIRPBUTSNHEGPWXOGMWKDTSDHHWTXEXGXTODGKIUQIMUDZXTTEHFOSYKJOBXHYKVWQMDGOIDPALNOCWCSRWIDTNTFLBARYUTTHICTWGYKDKMJVAJHYDYVUSJXUYRTBNPIYICUOWLVLUDGSCIMMGEXIMRHKHUCXDULVSRXBRXEELWSLUQAFCMLZQGBCWAYOHXTHPRTIIXDFTOMKSLTDQBYJOMZWVHDCHQAEPWHSSJGKLYMNWDCQWBQFTRJQRQXUMJNQFMPBOGXVRMMPRXOGUTBKTQPQHYIHBWJIWBHPPUECOTAVFUSVXWRWWYGIZHWRBRBSNJMXYKKMRMCPBIRXZSJZZTYBRQHELIWVJKXUUPXXHFFFTGBDPMTFPKNEEHHAKNAKLSSVALRBLMHEOUFUPSICRAXPWJPGHYCSKLGMGFYQUUBCNTGDLRVPUPOMQVLSUBMXKXNDVIQALTLRZYOIRYUVSAYOPBNWQRJTURFACIQCXDMGBPOCLTZYBYNPKMJLHDVAXSYXECJHKOGVOXEVWTYWMFKDILXNZIZIEEGVGVTSLXVOBJCLDNPZZYFLMKHNVGMHAWLFEJLBLCOGEGELERMAPYZHVCTVYVIZIXZUNQZYHCRJMSLRGWDWDHALZGSJOMCXZBLPXNHMWUNCKBPVZTJFKXREZIYQTCWIGXNOTZDXVDJFZEHFFQYLRFCDDVVWQBLYMDSFVFTNNBJASIXKPVYAWMYUTMTQBSTXLKLAEWFZRGKUKTAXCTLVQDHHMTSCFKFAMTAQBUHXTIRTSMEMMRLIZCAQBUAIBVUJEENCRBSSGXPQOAHVCAQNKNFVQMHZWKUYQSXQROMGAJXPPLGOMLYZJCTRPYTJBUTGXCJKTQGDLRTEXQCEWAZABVEBZAQYZLQXXSPDOXBASOKAQITXLDSHTEABGPVXFKFXJGUPOCJLIJGXNLEJNXFRTPDRNESFXUZRPNCQRCOWHCPRPBFZGRKTSSHUBAMHYHUDOGROIBBIEWRFAVUOGXBDK<...>
Output
1000000004464610420244032420030430000323430234041042130300200246062630604002342434092240446043020096066100044004603026406063641463166062446441209491344442242342600014331944636632290491000429004640062030046044330022049030666220040340002400446409622034006000660603126200246243462246324106000400640606406044124200401443060064400066664262360026244646304600066600294046031143300000463420040222000020094440966920221014444603406440644094240601164204396441422049416230323440090960624661440624620066016004404332464249006662402690340346324600244232400602003493204042244440493426649324006092002442000902696942424292620460044046440430120060466249640303009044622430694320201240644006003620460040443220033436002000069604334400696234040022660443044600261020064039090200064010003409403002044000020006103046042222694040061046416222466444340200440020204020000160430622406344942296064064606610434600043960230420000642600060903344323604200040393400206444300036414246946432926230604362240310642406420044646004600440160206013246246642060041243630<...>
Answer
1000000004464610420244032420030430000323430234041042130300200246062630604002342434092240446043020096066100044004603026406063641463166062446441209491344442242342600014331944636632290491000429004640062030046044330022049030666220040340002400446409622034006000660603126200246243462246324106000400640606406044124200401443060064400066664262360026244646304600066600294046031143300000463420040222000020094440966920221014444603406440644094240601164204396441422049416230323440090960624661440624620066016004404332464249006662402690340346324600244232400602003493204042244440493426649324006092002442000902696942424292620460044046440430120060466249640303009044622430694320201240644006003620460040443220033436002000069604334400696234040022660443044600261020064039090200064010003409403002044000020006103046042222694040061046416222466444340200440020204020000160430622406344942296064064606610434600043960230420000642600060903344323604200040393400206444300036414246946432926230604362240310642406420044646004600440160206013246246642060041243630<...>
Checker Information
"100000000446461042024403242003...2004323043433900643046042364242"

#16

10ms / 8804KB / Accepted
Input
ETMLSGXMRSSEQXQZZGJYHMGIEWUZMDEEYWRMNESRGHXUVQLPUNABUZZACZCNGRPYHEYCRXVSRWOTTVRNQEXSSOYEBXDUQHBOZJINDQFDGZUGKXMNOEJSOZMCTJAINPPHENGGZUZGJINYLGVIAVGUIQPAURUQBANZOVNENBGIEFCJPCHZIFCLEMSPKJQHDRAPFYKUBJYQJSNYYSAORESBSCYCVOULTOMIDGVBNXMCLXVENWHEMXNESRMMQULTTZMUQFJTVDZSNADDGPQWHVTPBONRPOPHTBXOQBDWVDYVNRQJLZGCVKEDTWTBNQZENAKYMDMHCFYKEPFJIOBIWEFYPETQXCZVHMQFYWXHQGYCGPEIVVYJKLKPIZIIBDKYLMBAYUPCBTXGLZUBSGAILGOFOCDXLTLKLGIZGNDBPMOOLBTUYNOSZCATHPUJZIHFZXULKTVBMDIAYYOCDPDIYPBHVMDABZZYEHEBKXQUOATBWERUWCNQGTSVKYKIGADIWAFDSYYNZQYSOBPUUSPWMAKWHXXQDBEXVBCKJFZHOUGSUGZBHQXXCFITNJBBYFMUVQSEZJUIRGOTVRTBRMOOPKYXULOYESRWQFQGORALBQRHOMGEHVWJUFNKTIPBRDEXGDFFASNEKOOCRSOHIPYHBVSLGAGFXGAOJLVFHLRSLWCOSLWCUEFDWEMQPYHCODDGQBVHXTVYSPLNJWQJMZRNDFQAGLDGCTFPPDCOAMLSFWWTSHTYQIBSYCFMDGZLGKTCGLTSMYQHDPFIKKWIQKLHGZUSZHBMOVMRTRDXKXGNSIIUTAYQSTMEHVWJGZPVBGAHQUTXMMHTTOKYBBCBETIRHSCTZGSQSPWDRRCUVQYMDBCHODJBMLQTMJMHZASURFBVKUTKUBAAELKAERIOYLJRIMJGUISCYQWADPHXZNVQURQHJWDJGPQMJPWSWIFCFAUOTSEBCONZNPZYJJJLRIWDZNUSJGKRKSFOCAHKADHPFQNYGTTWDMHYYCSRZTOAYMHNHUXC<...>
Output
1000000000017077707560091717021157003100060197041325177267630045615600900700090371000051502176507793279207106003017007060729344613007170793500992901974210175237093135091967466799601004677620249561575770355020010506569010000920953006009137610031000071000701797092703222047769045030404605007527925930770706961207053771326502066956149790597195410706796079570670560419995760649799526500525146500007150029000906200006009703254000050153007620641779697010609502925506242954569022577516156071020571017637000965690229729205537750054110470267600725109566797601001075670069903755590197017719000090050000465010051007797000205706000169771936094502100299203160060006945659000209002070996000076000761192710745660220759600950403777707032972002060944260200097700605795056902070060600000576249966797606071076500900002060030991025700016977074950267100006000655565109060607007047200619750256602750070070672010959610615221062109050709070190657722460739710767727047074707996921000156037347577700972731070606090626622649735000720655600700250636106<...>
Answer
1000000000017077707560091717021157003100060197041325177267630045615600900700090371000051502176507793279207106003017007060729344613007170793500992901974210175237093135091967466799601004677620249561575770355020010506569010000920953006009137610031000071000701797092703222047769045030404605007527925930770706961207053771326502066956149790597195410706796079570670560419995760649799526500525146500007150029000906200006009703254000050153007620641779697010609502925506242954569022577516156071020571017637000965690229729205537750054110470267600725109566797601001075670069903755590197017719000090050000465010051007797000205706000169771936094502100299203160060006945659000209002070996000076000761192710745660220759600950403777707032972002060944260200097700605795056902070060600000576249966797606071076500900002060030991025700016977074950267100006000655565109060607007047200619750256602750070070672010959610615221062109050709070190657722460739710767727047074707996921000156037347577700972731070606090626622649735000720655600700250636106<...>
Checker Information
"100000000001707770756009171702...9024005177614756024664120471610"

#17

2ms / 8812KB / Accepted
Input
JRFYPRPZRHMXXNCYFSDHWGNGPENYFEMNVGFOZMJHVNLOTFFCYUIEZMUGSAYBISYCPAELDTPAGFDKDYMRABPCTKZXPCQKRAEANCHZYOVELQQGPFEEYGKOHKAXSKVVBVGBBCEPTIYGDQWCYWUIGLQGFHCWEGTUVNLBUQJHFKDVYGNDUVAEDTJCMCZZGBYIOSJPZCBZLYEPQZNROZKUPHKIEQNSNUHUAOGLQFKMPBNQANDKTNGCIDLBYIKVQWWCOCYHCQIPLMOUYKNBHBYWRUGSJGCXYPUKBKSCLLTTQRJAPBEQPEVCNBJHMOYYGUDWYPYMOBEBCDHJIJYILKMRYSPKITORSTAUGKLMPNXGEQYHKBQRUUXPWPSNTQPSDJJDMIHADFSTXTQKQSYBUNZEGYBLURKFUFXULBPYNYMPCNOIKKRNUZOYKDVOLTTPIFEPKDHHBCFDWOSUNTJZJBMKBFEUHRYAKSDYQSLFEWDRNZGSFGDRSUFQINGSAZLSLOQDNWIOQHUJOBYQUUNAECFIQSNDYOCGOMILIVLPIFSRRGPPDFOURKOZGZBNNHIEGBNTIC 81164137401591072
Output
1000000000000810016041810380030871040010780410010593005111009101013061011067600010011700011701318100047301110033017407101777071001301901614104591011001431157800511007670186571361110100100941100100003010804075007931818505141010700081186718119600097714414100119000450780000405111110005707110011101100310371801004001564000040301601910907000107914011151700080131007010550040181101611609016011011711005803100050705005000080001849770850407674011090307600010644158110100700350001716011003460801101601501981110010416849410514001558131091186041140909700901001006045074010088093108191
Answer
1000000000000810016041810380030871040010780410010593005111009101013061011067600010011700011701318100047301110033017407101777071001301901614104591011001431157800511007670186571361110100100941100100003010804075007931818505141010700081186718119600097714414100119000450780000405111110005707110011101100310371801004001564000040301601910907000107914011151700080131007010550040181101611609016011011711005803100050705005000080001849770850407674011090307600010644158110100700350001716011003460801101601501981110010416849410514001558131091186041140909700901001006045074010088093108191
Checker Information
"100000000000081001604181038003...0901001006045074010088093108191"

#18

10ms / 8872KB / Accepted
Input
FJEKYVXHGUQKKFDFZZFBBMLICQMMDXWDHRQDCKPHUUMJGAFTSRMSLUAEIGQIBPDWXLYMBYBNVQJHGRZJMILKKFAZNCAZHKQPPOQMCPLKIRQNCEBRFDDYCPRYTQDLBPJZLQZPAFNHMYXFGMRIFTLGSIEPSGOEDLGXFYSPFJBYKRAVIOSFIGWNQTNOKWNDZVMJFKEBAFMMAUHPKEHZUUBQQEUUOIZDPNLAGCWQJCPYLZBELMCGBRYDSSQMIYRNMZAKMTXZYCYCSIIEJUVSAEWJQOYQJIIKMKAIJBOLXBSCZBPZJRDJZCQDQDWNYYTMSMMRHEKQOWNBXWSYCTMWUSRTSZOCLYLPJZZVARMAKZDUMTMKYCNNBNEWKALREOJMBIJDWPMWXKDMSYGJNDNSOKSJAETXDYCIQPXINTLPUKMWOHPQDEXDNKGGJUPDENADIANAPPYYHPWMWVQEAKKFGMUEHXSRQMMNPMSJALCXBLGWFRSTLKNAAPBBWUZYXEYFGCMBSBOYUZMNLTACDHTEJPVAGRFFYJQDRIAVONPNMHAQTXCHKJUNLYPGDZBODXRRPUDTIUGGMOTLNQDDHODCCQHNXEURJRCLKKUPOEPBHSYVXSLBYEPSUAUEGEORWLNGLROMYVTPHDWJXBCDRHLTPXLXDGYXWPHBQTXCQFXDFGYXPJTOYJYKXFQLMQXEOKEGIYKKRPYIRROCQZPBZIVKCQCNXAWESDJGPFAJIKVCBZUNXWCEPDLXMOHDWMMKLYSUUMKXRDFNXSHCCGUJEPPKKMUMRPYFGXCGRWHDHPNEXWNTCNIODOUBKJVXAYBVBAEDVDEGKNMEDEVNTNSUPAYBUHRELRDHHPATWPUBQQZCXGWZXTHJCYGNAATCYWJDHTHJANCCTLWTPQJESGWJCODJIUSCKNDEIRDYFLZNZFSBUBTRGCWVTSWMMPBQZNNXZBTCXCNHCIWMURYWIVODLTQRIMIXMBGUEPBWQQHFXYZTLSJBGJVSPLNWFQSHUHNJKCYDEXMO<...>
Output
1000000012900131991119638999307301938070229012189199622031931737060910130900119093600129382900977599876031938011133087108936170969972130900119131861930791503610109710100120359131739835073390901001219922070009221990225393736218790870691069811103999930139920980908089330020920709509033090230156019891790130989393730089999100095731079088972918995860670990219209329890083313070261050913037797003990103339509020803083970338672097507930033011027303233232770007797090200119200091999379902680161711986032271172900001189191502993682830800702111100931320537390298080002360713915301172383211958639330538890300210186002750710900096100792220105176316159008703700183106870603100770198089103110070850000019699005001300017031158997193008983027093017120300819230780736095037990609229001313090881200770092917011081170307300738833535210000201012030301039030038392720120106130072877219998017908008013228807030800238886787900917085303298033031301693919121811870897997199330918808308379210730536891393091120717990100986901100976371990203008030095<...>
Answer
1000000012900131991119638999307301938070229012189199622031931737060910130900119093600129382900977599876031938011133087108936170969972130900119131861930791503610109710100120359131739835073390901001219922070009221990225393736218790870691069811103999930139920980908089330020920709509033090230156019891790130989393730089999100095731079088972918995860670990219209329890083313070261050913037797003990103339509020803083970338672097507930033011027303233232770007797090200119200091999379902680161711986032271172900001189191502993682830800702111100931320537390298080002360713915301172383211958639330538890300210186002750710900096100792220105176316159008703700183106870603100770198089103110070850000019699005001300017031158997193008983027093017120300819230780736095037990609229001313090881200770092917011081170307300738833535210000201012030301039030038392720120106130072877219998017908008013228807030800238886787900917085303298033031301693919121811870897997199330918808308379210730536891393091120717990100986901100976371990203008030095<...>
Checker Information
"100000001290013199111963899930...1203128737009100163027037128003"

#19

8ms / 8872KB / Accepted
Input
TMBJDCBSWDREDWYAFNOWVQMKGQFATRLWUNEKRFVFPGWMHQILNJSDVXAVFATZUAVGCSLIQMDXOAUUDBCGAZRMSMEDOEYALOKITLMYPOFLUMRNUXGTUMLSCLEXXCHDJGXYCXBXDRVHOVJVXUXOSOAOQVRPDTAYTUOMHSSYRYFFRDTHMHDFRUBASABPYCYJAAJFNLUBEWBXEZNZUZZLQKSAJNHMULDDDUEVCLTFWGWGIBWHILAJQTGKCZUYAUBTZZHKVGHRCQOOPKNUVQGPLCOGKGABFOCNPRETXHAXEWGNIHMCOCOBSTKXOBAQNIGJJNSFFBIZSWNYCUDHIVWXUBQSWXHRHXVUIQPEIILOHSKSSYLMEUROKZZNHESLJONIRJICABHYAUANVUHZKINJHNUEGDAWZBWXPKYEOHDGZOBDJARSBZMQICVSMVLAACVORNDMCQBKPYYSTSUWPGIFIYTVGMQAUMWNOWXSLPGQSWXORRMXFQDGQYWTRXLEBGEQPBGKFAFRRHPHIOFULPHUNZKJCZKKVMYGOISTFWQBSUIVWGDHWCCNTNHDUERNPZWLWSYGWQHQMAZQOCIMVFPHHZTBMCCJVEKCKCKPUGNMUNTUROWIKZQRKCYKIYROWVPNJVIUUZHGJJUPGCTLGDFKNOBWJPGTGVLAKDMROCPXCDFHQXAGXJUWZFMKOILWAXFUMUATLDSRNOEMBCPRGMHRHNQIKZJIFFHJSJQEXUWIXWKFWVTGNFUTGMQUYEWHQPWLDHUWHIXQWWPVBHLSZQVMVAKNDHZZKQEJYNCEWSJUFDKRNHDNJOSIPPSHUKXTDTBLBMYFDHANALGHQBBXSKHZYHKHRHOTAFJDRCXXLAIGSDYNRMAVVIVHNIEXPOCKLEXOVFPEKFJKOIDSFBTLOVSONONTUDSEJXJDEENLLGFSMQBQYASNUHWUZTQAXAMPAXWMVKIOOENVBGXDVQYIMRFKGNBAYGDYJMVNFXTBSQPMRNCUQUDXXSJRERPJHMDBLVURPGHA<...>
Output
1000000000070092719048069872103061760747290058131000452472186249003180059266000928000070979239611309297360016591603003755050095905050045940456590929840201291690500909770015050706020202909022071360700578186883860201506300067403170909100513208196086926018856495008992616489230996920790120715525709115009090016590281190010770180019060514056080055055461827113950600930760968815703091100102059262146586110516790208005269795098900020008081040043220490100080629901060291719149082600190503298005900057809890105370978209672700525197632561860086640999101708006140905000111506701280300990858028890104725581000004760606269106116090168806096190904210416685900629013907619000291943260009025007585295060870691302576062130001970002090505181680177500087560150670419176190869705820305605158002405308840426105886870910700067060150109012205665101030097052123958005065895650591270000553219009100244145117529063759472767069100701394091911600705007713397008089201650681825202250046199714095048910076910299090041751008200106860550007020500034602952<...>
Answer
1000000000070092719048069872103061760747290058131000452472186249003180059266000928000070979239611309297360016591603003755050095905050045940456590929840201291690500909770015050706020202909022071360700578186883860201506300067403170909100513208196086926018856495008992616489230996920790120715525709115009090016590281190010770180019060514056080055055461827113950600930760968815703091100102059262146586110516790208005269795098900020008081040043220490100080629901060291719149082600190503298005900057809890105370978209672700525197632561860086640999101708006140905000111506701280300990858028890104725581000004760606269106116090168806096190904210416685900629013907619000291943260009025007585295060870691302576062130001970002090505181680177500087560150670419176190869705820305605158002405308840426105886870910700067060150109012205665101030097052123958005065895650591270000553219009100244145117529063759472767069100701394091911600705007713397008089201650681825202250046199714095048910076910299090041751008200106860550007020500034602952<...>
Checker Information
"100000000007009271904806987210...7505750078076045671060700361090"

#20

13ms / 8736KB / Accepted
Input
HKOUPWRCSQWUVZNSZXZUVMKIPHPIFNDTDVMDPOGXYSYIAAARNKJXCQLTHCDBAPDZLPZDCERDLGSYROUXVJXZOUIDKSRXOXAXKMUXPMAHLMTODJPDSCQEYACCUJNIPEALXGNGHSYCMSZDGWZWDLQKLCTBVJFCMSLNEXSTBGLEGFJHKBFHWIAMTQVDKGWLHMSKDVMIMQZYBCDWWZBSSNETKCNNVOQQQITNBIHGIEBMLRBFZYGHAWINFQFCTMDZBWRFFQIYZIIKUREPSXMFYCRERJYWVKIDNWKRWURLGJGDBOEEKKZCHHTNPJAKJVSWXGOBYESGEHXCHUOWRCYVTDVSVPPEKMVSDAENLUYEFRPDDJYSPZDVHIBYXWMXPJHSNAUEJSJECWIKXZQCFKYBOMVETSLVYOEPJPFOQCQWSZCYZATTGRYCMXUJLNCJOIXXODPUYJHXTFHRMSNEIJTIEVQGRCJGKGMQEGGHQWMRUKKIJRWOQSVAEDLWGKBAGQNFBYDOTBOAOBOPSWOEDOXSJZKKVPHUVJVKADUMQNZJHDUCQJIHRLROGOEKXWLWEXGSQBIQHQFRUEENWTDQPLABRZEBMHDNTCJAZOFRUGNEFTNOVFRHCTWMPYDSDSPNQCQPZFRBWRZENYLUXBAJEQPMNPSIUTOVQPDCVJJJGTRKVZIYQVAICYICJPOAMWVIEBVWDYTGBAMQJONJTMGVNYZKCNKNUZSDBUISHXZTIGCRCESHTKVURQDEXDDCAMDFBFBCBSJPVYERUJTTTWNFAYQZCQBWFGQUSEYNWZWXAUIIWQUKXWGCLMWRIYWWZFGXEQVYTKBWSGKDLVOLKZAIJKWHLXSSTODXXGDYEFCUIGLXOJSZKTMHTIGKGJULUWVHLUAYXLJUAWXQRIWQUSQYRRWVOMEWWVPTAWAPUMWAZQQUYUOXBAQEDPVHVIEKIBWBCFKCWRMDAGHGMCGETMFPPLHSQJBIPVUPHGAHZTUZPFXGCDXCLEMJACCVRPSVZORLDDQZPOGI<...>
Output
1000000030009123131093000100328989380093131077702003004910877081401809084931000390310008030303730303037143908008300917000020097439291310331890108400409790303342933979499301073100739098090413308930301170800173329900229000009270190973407311917002303093817003300110000090333310090010900820000004909870990010119200700930390719399130100000199893900903938792401930088013018910713033001327090309000031003017039993491090003000003101179990103300420000330800101393103329009099090009093099910030000000000397984090779023718097070700300980330100901090907803021018000001040090903040939307001030099209800477019731829007103009293920930109030183830200001307001921403770900320300909008090009900910109700100000730909790819977300020939921100202013870031319090009319090008938807383737073009190009990237101007039003912010370000000309043000100139390919070390849040170000143339083398193000943003109319090900400914071340070300000030100090390090970700307100010037709809190900707030000387919309993300413007009001971190103390830493070090039100488010090<...>
Answer
1000000030009123131093000100328989380093131077702003004910877081401809084931000390310008030303730303037143908008300917000020097439291310331890108400409790303342933979499301073100739098090413308930301170800173329900229000009270190973407311917002303093817003300110000090333310090010900820000004909870990010119200700930390719399130100000199893900903938792401930088013018910713033001327090309000031003017039993491090003000003101179990103300420000330800101393103329009099090009093099910030000000000397984090779023718097070700300980330100901090907803021018000001040090903040939307001030099209800477019731829007103009293920930109030183830200001307001921403770900320300909008090009900910109700100000730909790819977300020939921100202013870031319090009319090008938807383737073009190009990237101007039003912010370000000309043000100139390919070390849040170000143339083398193000943003109319090900400914071340070300000030100090390090970700307100010037709809190900707030000387919309993300413007009001971190103390830493070090039100488010090<...>
Checker Information
"100000003000912313109300010032...0099912091000993099300138913900"
#include <iostream>
#include <algorithm>
#include <vector>
#include <set>
#include <queue>
#include <map>
#include <string.h>
#include <math.h>
#include <stdio.h>
#include <deque>
#include <bits/stdc++.h>
//#include "testlib.h"
using namespace std;
#define ll long long
#define pii pair<int,int>
#define qi ios::sync_with_stdio(0)

bool debug=true;

/*    *************************************
	  * Written in New Computer           *
	  * The following code belongs to     *
	  * XiaoGeNintendo of HellHoleStudios *
	  *************************************
*/
template<typename T1,typename T2>ostream& operator<<(ostream& os,pair<T1,T2> ptt){
	os<<ptt.first<<","<<ptt.second;
	return os;
}
template<typename T>ostream& operator<<(ostream& os,vector<T> vt){
	os<<"{";
	for(int i=0;i<vt.size();i++){
		os<<vt[i]<<" ";
	}
	os<<"}";
	return os;
}

string s,t;
int main(int argc,char* argv[]){
	qi;
	cin>>s>>t;
	
	//minus 1 from t
	for(int i=t.size()-1;i>=0;i--){
		if(t[i]=='0'){
			t[i]='9';
		}else{
			t[i]--;
			break;
		}
	}
	
//	cout<<t<<endl;
	
	vector<char> v;
	set<char> st;
	for(int i=0;i<s.size();i++){
		if(!st.count(s[i])){
			v.push_back(s[i]);
			st.insert(s[i]);
		}
	}

//	cout<<v<<endl;
	
	int afterLen=t.size()-(t[0]=='0');
	if(afterLen>v.size()){
		cout<<"ZJS!!";
		return 0;
	}
	
	map<char,int> mp;
	int x=t.size()-1;
	for(int i=v.size()-1;i>=0;i--){
		mp[v[i]]=(x<0?0:t[x]-'0');
		if(i==0){
			mp[v[i]]++;
		}
		
		if(mp[v[i]]<0 || mp[v[i]]>=10){
			cout<<"ZJS!!"<<endl;
			return 0;
		}
		x--;
	}
	
	for(int i=0;i<s.size();i++){
		cout<<mp[s[i]];
	}
	return 0;
}