#92

by asd

Submitted 3 years 6 months 1 day ago
Mon May 10 19:11:30 CST 2021
Judger: judger1
Dataset Version: v1

6 ms / 8904 KB
Final 0
Problem: lss4.dandelion
Language: GNU C++ 11


#1

5ms / 8808KB / Wrong Answer
Input
6971941980401642456299997120412813381663012944918046331804192767172756295123504544465246
93706283547227042109030890347474687211080995084523737209193499562066487600833852054651642083
725888564
9894349082831970365694386435096507942252815492076636264243263849
28
553514772720608903
501383055350017981599390694552807169305699011687698871999975811447134340392115424369411139751567
1605159459316004017200014266663718275770421081329763009337619912329107565115679119767692331559773192
44062632441650720507555635092027
53517973131514166574200193339861671523445469837320
407144417882344630110495654217525468920365471695506190191011945280755035298057134982901880027
1184017526097265201650387825627067706171979556836012104345196446049456113772334
4169134932
664326621851606910847843754703390943078982895007716662284930386422183672985003762052
8418205597161813077312
1837820681209141888477891358970169858897948811611226747656525796705531525821704845151704772735243909
87312345480510642015110775437618127467648996118578
1<...>
Output
6971941980401642456299997120412813381663012944918046331804192767172756295123504544465246th
93706283547227042109030890347474687211080995084523737209193499562066487600833852054651642083rd
725888564th
9894349082831970365694386435096507942252815492076636264243263849th
28th
553514772720608903rd
501383055350017981599390694552807169305699011687698871999975811447134340392115424369411139751567th
1605159459316004017200014266663718275770421081329763009337619912329107565115679119767692331559773192nd
44062632441650720507555635092027th
53517973131514166574200193339861671523445469837320th
407144417882344630110495654217525468920365471695506190191011945280755035298057134982901880027th
1184017526097265201650387825627067706171979556836012104345196446049456113772334th
4169134932nd
664326621851606910847843754703390943078982895007716662284930386422183672985003762052nd
8418205597161813077312nd
1837820681209141888477891358970169858897948811611226747656525796705531525821704845151704772735243909th
8731234548051064201511077543761812746<...>
Answer
6971941980401642456299997120412813381663012944918046331804192767172756295123504544465246th
93706283547227042109030890347474687211080995084523737209193499562066487600833852054651642083rd
725888564th
9894349082831970365694386435096507942252815492076636264243263849th
28th
553514772720608903rd
501383055350017981599390694552807169305699011687698871999975811447134340392115424369411139751567th
1605159459316004017200014266663718275770421081329763009337619912329107565115679119767692331559773192nd
44062632441650720507555635092027th
53517973131514166574200193339861671523445469837320th
407144417882344630110495654217525468920365471695506190191011945280755035298057134982901880027th
1184017526097265201650387825627067706171979556836012104345196446049456113772334th
4169134932nd
664326621851606910847843754703390943078982895007716662284930386422183672985003762052nd
8418205597161813077312th
1837820681209141888477891358970169858897948811611226747656525796705531525821704845151704772735243909th
873123454805106420151<...>
Checker Information
15th words differ - expected: '8418205597161813077312th', found: '8418205597161813077312nd'

#2

4ms / 8816KB / Wrong Answer
Input
71670384884575725713653652581039841377135504433002124418901216
2769760564670190529754469797110034450475363845397790507625966936890186737626666345659
45486514636310042740104414784642868638361976378952169711036082651030433
38283380401275537343980712606294574261671528666927597953193544453823789947061122
2292283090354509700318235599356149511660311852919938259601085584085662402147740875598718558209007
578203
64144
40713032
92622270245594518828833398630819707640149956725268872536623736150674482262306236254182474
55605121097465136644417574681715
498160865578396425071047281951074460
7568871774452791129109338545953189
500159892781960012179
8029628991293172100144646762575047940453539106
579212978380719540803609686276776886384030255618990504857985186435146
4674879135764504358790741220156248005485026237879678
4460196460513337420306372616964397856841758251628436051904280
1741981916328296548736469
738546345313272516115272694918511368445605938017568501078846892492028407737
30626923815285582540663847768163<...>
Output
71670384884575725713653652581039841377135504433002124418901216th
2769760564670190529754469797110034450475363845397790507625966936890186737626666345659th
45486514636310042740104414784642868638361976378952169711036082651030433rd
38283380401275537343980712606294574261671528666927597953193544453823789947061122nd
2292283090354509700318235599356149511660311852919938259601085584085662402147740875598718558209007th
578203rd
64144th
40713032nd
92622270245594518828833398630819707640149956725268872536623736150674482262306236254182474th
55605121097465136644417574681715th
498160865578396425071047281951074460th
7568871774452791129109338545953189th
500159892781960012179th
8029628991293172100144646762575047940453539106th
579212978380719540803609686276776886384030255618990504857985186435146th
4674879135764504358790741220156248005485026237879678th
4460196460513337420306372616964397856841758251628436051904280th
1741981916328296548736469th
738546345313272516115272694918511368445605938017568501078846892492028407737th
3062692381528<...>
Answer
71670384884575725713653652581039841377135504433002124418901216th
2769760564670190529754469797110034450475363845397790507625966936890186737626666345659th
45486514636310042740104414784642868638361976378952169711036082651030433rd
38283380401275537343980712606294574261671528666927597953193544453823789947061122nd
2292283090354509700318235599356149511660311852919938259601085584085662402147740875598718558209007th
578203rd
64144th
40713032nd
92622270245594518828833398630819707640149956725268872536623736150674482262306236254182474th
55605121097465136644417574681715th
498160865578396425071047281951074460th
7568871774452791129109338545953189th
500159892781960012179th
8029628991293172100144646762575047940453539106th
579212978380719540803609686276776886384030255618990504857985186435146th
4674879135764504358790741220156248005485026237879678th
4460196460513337420306372616964397856841758251628436051904280th
1741981916328296548736469th
7385463453132725161152726949185113684456059380175685010788468924920284077<...>
Checker Information
49th words differ - expected: '1112th', found: '1112nd'

#3

4ms / 8788KB / Wrong Answer
Input
5171327765292704716439663415524928903
81089627825165721980583597894077369026034537
74329414538956635509154916245914568470557615124843788094865902038495
64864055120569515823
7553582136598
6530896716283370831318744313451782237731350806862610334059951006289381463392628193476305464222063
491825285235979949752159065761646340635313993785083067282791177765368734985735693064049
2308251820192203646693237129231984320563742828973044751634063181135515659010155267485
57945722728642504029314282661820725478598191991749893266614928963414825880527987357
9748616688645555845511495346944887
30825644140462638061828107079852849723959772826808101791045
9423308339084110974178002020650718240089147634261470413207
91238596979088117517650424436568900682772005256411771
5308326607054097270379879339005195220463484279430885404236008728535585006991330701883116776
4665222008979710854916193705055271124744103669772569372080265697942161028436544821476104
3952931717193289983
33858647700293659280655063358108031351607440333666037272<...>
Output
5171327765292704716439663415524928903rd
81089627825165721980583597894077369026034537th
74329414538956635509154916245914568470557615124843788094865902038495th
64864055120569515823rd
7553582136598th
6530896716283370831318744313451782237731350806862610334059951006289381463392628193476305464222063rd
491825285235979949752159065761646340635313993785083067282791177765368734985735693064049th
2308251820192203646693237129231984320563742828973044751634063181135515659010155267485th
57945722728642504029314282661820725478598191991749893266614928963414825880527987357th
9748616688645555845511495346944887th
30825644140462638061828107079852849723959772826808101791045th
9423308339084110974178002020650718240089147634261470413207th
91238596979088117517650424436568900682772005256411771st
5308326607054097270379879339005195220463484279430885404236008728535585006991330701883116776th
4665222008979710854916193705055271124744103669772569372080265697942161028436544821476104th
3952931717193289983rd
3385864770029365928065506335810803135160<...>
Answer
5171327765292704716439663415524928903rd
81089627825165721980583597894077369026034537th
74329414538956635509154916245914568470557615124843788094865902038495th
64864055120569515823rd
7553582136598th
6530896716283370831318744313451782237731350806862610334059951006289381463392628193476305464222063rd
491825285235979949752159065761646340635313993785083067282791177765368734985735693064049th
2308251820192203646693237129231984320563742828973044751634063181135515659010155267485th
57945722728642504029314282661820725478598191991749893266614928963414825880527987357th
9748616688645555845511495346944887th
30825644140462638061828107079852849723959772826808101791045th
9423308339084110974178002020650718240089147634261470413207th
91238596979088117517650424436568900682772005256411771st
5308326607054097270379879339005195220463484279430885404236008728535585006991330701883116776th
4665222008979710854916193705055271124744103669772569372080265697942161028436544821476104th
3952931717193289983rd
338586477002936592806550<...>
Checker Information
42nd words differ - expected: '748909194730064089530014303907...26544149842500508729293323011th', found: '748909194730064089530014303907...26544149842500508729293323011st'

#4

6ms / 8800KB / Wrong Answer
Input
83964342721
944920503841742015099959184643280174911694186987066883845515446118973494730390
7646650380844884997148131409906546453276503197230583676736
204527284634750971148114516961661
125433007828000796493016778604215575970823715082660099864085974270400144212571577994383429
457899394479157678754498109562941060959503216623470059208
126168532319
432067158656904487068084762104544221051574355
6968660339840513674377953841020789082806408872200
9483285050598553625910663845973120815
81050691482959480382855956414452072571681777038682474700805210263213263961761982
94063300771053823464602450563464955284527229674
12939833665613893332301850385989598950077146765266
152664073136134752102840923204668880054251487679955646094333594547149937
4349402288669255771711781687223631930883018291
84935319228780917032722251725868127132405457
284410090826452235376681618241458569390859822283894315876656395
846090121092948329000754354653670555211114567117638260660208612483
63588663231415931335000614138607702222003305126182<...>
Output
83964342721st
944920503841742015099959184643280174911694186987066883845515446118973494730390th
7646650380844884997148131409906546453276503197230583676736th
204527284634750971148114516961661st
125433007828000796493016778604215575970823715082660099864085974270400144212571577994383429th
457899394479157678754498109562941060959503216623470059208th
126168532319th
432067158656904487068084762104544221051574355th
6968660339840513674377953841020789082806408872200th
9483285050598553625910663845973120815th
81050691482959480382855956414452072571681777038682474700805210263213263961761982nd
94063300771053823464602450563464955284527229674th
12939833665613893332301850385989598950077146765266th
152664073136134752102840923204668880054251487679955646094333594547149937th
4349402288669255771711781687223631930883018291st
84935319228780917032722251725868127132405457th
284410090826452235376681618241458569390859822283894315876656395th
846090121092948329000754354653670555211114567117638260660208612483rd
63588663231415931335000614138607<...>
Answer
83964342721st
944920503841742015099959184643280174911694186987066883845515446118973494730390th
7646650380844884997148131409906546453276503197230583676736th
204527284634750971148114516961661st
125433007828000796493016778604215575970823715082660099864085974270400144212571577994383429th
457899394479157678754498109562941060959503216623470059208th
126168532319th
432067158656904487068084762104544221051574355th
6968660339840513674377953841020789082806408872200th
9483285050598553625910663845973120815th
81050691482959480382855956414452072571681777038682474700805210263213263961761982nd
94063300771053823464602450563464955284527229674th
12939833665613893332301850385989598950077146765266th
152664073136134752102840923204668880054251487679955646094333594547149937th
4349402288669255771711781687223631930883018291st
84935319228780917032722251725868127132405457th
284410090826452235376681618241458569390859822283894315876656395th
846090121092948329000754354653670555211114567117638260660208612483rd
63588663231415<...>
Checker Information
80th words differ - expected: '202698301589292445090672585965...17827537137465113989523281611th', found: '202698301589292445090672585965...17827537137465113989523281611st'

#5

4ms / 8712KB / Wrong Answer
Input
45004215791828770454781208086170408252141016095582157042928147530962652747917134640140
40579992277161547884950004825843223442983429557921553359532239808260479056735
928159603375056532690974181808790757758296921589944314542810487225577981249438528438
172721549049121841883111204848469914452385795565705612760289732232429962941508792
460288287783236109973104350444223865296346078660614610937291356552144
7337917840643713248757589647299882675340682290656374943683
482472298603412190446476396612197203293115568873993071846335
87372987504985721183884052587989130768050963575937470621074786665158606368401625513383438497243468
936190801830110983983415698560160863548224711902430684374584105323554193786076717098347175561391
404069752718408850956171860
6891918937659106281194278177848426801584124689310626300005889791887965446962
701239416110328746625
55291879149604738790401782793213865473303143795973327060719390988177573914730623195263179231
3027404448524441124802870065926706829306826951100334774726132773143316281<...>
Output
45004215791828770454781208086170408252141016095582157042928147530962652747917134640140th
40579992277161547884950004825843223442983429557921553359532239808260479056735th
928159603375056532690974181808790757758296921589944314542810487225577981249438528438th
172721549049121841883111204848469914452385795565705612760289732232429962941508792nd
460288287783236109973104350444223865296346078660614610937291356552144th
7337917840643713248757589647299882675340682290656374943683rd
482472298603412190446476396612197203293115568873993071846335th
87372987504985721183884052587989130768050963575937470621074786665158606368401625513383438497243468th
936190801830110983983415698560160863548224711902430684374584105323554193786076717098347175561391st
404069752718408850956171860th
6891918937659106281194278177848426801584124689310626300005889791887965446962nd
701239416110328746625th
55291879149604738790401782793213865473303143795973327060719390988177573914730623195263179231st
302740444852444112480287006592670682930682695110033477472613<...>
Answer
45004215791828770454781208086170408252141016095582157042928147530962652747917134640140th
40579992277161547884950004825843223442983429557921553359532239808260479056735th
928159603375056532690974181808790757758296921589944314542810487225577981249438528438th
172721549049121841883111204848469914452385795565705612760289732232429962941508792nd
460288287783236109973104350444223865296346078660614610937291356552144th
7337917840643713248757589647299882675340682290656374943683rd
482472298603412190446476396612197203293115568873993071846335th
87372987504985721183884052587989130768050963575937470621074786665158606368401625513383438497243468th
936190801830110983983415698560160863548224711902430684374584105323554193786076717098347175561391st
404069752718408850956171860th
6891918937659106281194278177848426801584124689310626300005889791887965446962nd
701239416110328746625th
55291879149604738790401782793213865473303143795973327060719390988177573914730623195263179231st
30274044485244411248028700659267068293068269511<...>
Checker Information
31st words differ - expected: '3154181435429419772014894253987912299113th', found: '3154181435429419772014894253987912299113rd'

#6

4ms / 8904KB / Wrong Answer
Input
372471805604780726054250893512811187055464911815048982448174
893906961542373268847242347010323088648232311813437182443574334713064234133438052099687
382333118159353874021749420111597929571365939764267361188172410930448562
67131427963294692102063811
1944566599339978930490986562301465443455121294568320350557092115343366951694273
36904220288733872086525647102228
5052615162727385197902330739172347693520475
8756843740938392742
9363801371737171816588899103261521379326331621601871400456842638583444584720543629443763
54323449778354285256332533498428404971399442480688346338822486881348798522592803395346842556984
186738624278876960617219185949749781712528893393
38858630080759482378041859905550747672
1700336235491627504898182999936801865900510990041351
8564441697865936304932741600096566716905651619
920796448945107132122057810004071364791704899218723847914808
91630694563
98
6417387613939432862519276612921451614739349196940662484
64198851501134969714778292884349935005266230878368553183084193255296
75278<...>
Output
372471805604780726054250893512811187055464911815048982448174th
893906961542373268847242347010323088648232311813437182443574334713064234133438052099687th
382333118159353874021749420111597929571365939764267361188172410930448562nd
67131427963294692102063811st
1944566599339978930490986562301465443455121294568320350557092115343366951694273rd
36904220288733872086525647102228th
5052615162727385197902330739172347693520475th
8756843740938392742nd
9363801371737171816588899103261521379326331621601871400456842638583444584720543629443763rd
54323449778354285256332533498428404971399442480688346338822486881348798522592803395346842556984th
186738624278876960617219185949749781712528893393rd
38858630080759482378041859905550747672nd
1700336235491627504898182999936801865900510990041351st
8564441697865936304932741600096566716905651619th
920796448945107132122057810004071364791704899218723847914808th
91630694563rd
98th
6417387613939432862519276612921451614739349196940662484th
641988515011349697147782928843499350052662308783685531830<...>
Answer
372471805604780726054250893512811187055464911815048982448174th
893906961542373268847242347010323088648232311813437182443574334713064234133438052099687th
382333118159353874021749420111597929571365939764267361188172410930448562nd
67131427963294692102063811th
1944566599339978930490986562301465443455121294568320350557092115343366951694273rd
36904220288733872086525647102228th
5052615162727385197902330739172347693520475th
8756843740938392742nd
9363801371737171816588899103261521379326331621601871400456842638583444584720543629443763rd
54323449778354285256332533498428404971399442480688346338822486881348798522592803395346842556984th
186738624278876960617219185949749781712528893393rd
38858630080759482378041859905550747672nd
1700336235491627504898182999936801865900510990041351st
8564441697865936304932741600096566716905651619th
920796448945107132122057810004071364791704899218723847914808th
91630694563rd
98th
6417387613939432862519276612921451614739349196940662484th
641988515011349697147782928843499350052<...>
Checker Information
4th words differ - expected: '67131427963294692102063811th', found: '67131427963294692102063811st'

#7

5ms / 8800KB / Wrong Answer
Input
37308982528937474746088042918291636
205395636521983957587771146693016713470811382434342018464
3986
48651469794073391796633546874344897631082335341232809946268
17099412532730375762148977641070787146297637864499104456846098756978366678950458755062
898263607997147401443948669015015168542387514464489494273500467818174433495555630527394538
40974480843388052977805591059211961454039369381653280998230043104432938451922785648839104816727609
635387854230029434176162492494069711628957771612865624798563603529420
61988809075
2039392402520946654523915721114092336941336273101239285777480572
483587110024545154690606745622887736399586682481349841
12201589033657081425707380823808206079613847936559172388546147337665411348511842252
9095229572307372098861437389617320286620453669554191718649138829
3429330991870181524039173081758781904498694720591667884187180162709069455583384953733599192851916
8899312105333143583460810465
8113600508485611556489484753765315184224875300
49769925277946871435871757006956834420601596388<...>
Output
37308982528937474746088042918291636th
205395636521983957587771146693016713470811382434342018464th
3986th
48651469794073391796633546874344897631082335341232809946268th
17099412532730375762148977641070787146297637864499104456846098756978366678950458755062nd
898263607997147401443948669015015168542387514464489494273500467818174433495555630527394538th
40974480843388052977805591059211961454039369381653280998230043104432938451922785648839104816727609th
635387854230029434176162492494069711628957771612865624798563603529420th
61988809075th
2039392402520946654523915721114092336941336273101239285777480572nd
483587110024545154690606745622887736399586682481349841st
12201589033657081425707380823808206079613847936559172388546147337665411348511842252nd
9095229572307372098861437389617320286620453669554191718649138829th
3429330991870181524039173081758781904498694720591667884187180162709069455583384953733599192851916th
8899312105333143583460810465th
8113600508485611556489484753765315184224875300th
4976992527794687143587175700695<...>
Answer
37308982528937474746088042918291636th
205395636521983957587771146693016713470811382434342018464th
3986th
48651469794073391796633546874344897631082335341232809946268th
17099412532730375762148977641070787146297637864499104456846098756978366678950458755062nd
898263607997147401443948669015015168542387514464489494273500467818174433495555630527394538th
40974480843388052977805591059211961454039369381653280998230043104432938451922785648839104816727609th
635387854230029434176162492494069711628957771612865624798563603529420th
61988809075th
2039392402520946654523915721114092336941336273101239285777480572nd
483587110024545154690606745622887736399586682481349841st
12201589033657081425707380823808206079613847936559172388546147337665411348511842252nd
9095229572307372098861437389617320286620453669554191718649138829th
3429330991870181524039173081758781904498694720591667884187180162709069455583384953733599192851916th
8899312105333143583460810465th
8113600508485611556489484753765315184224875300th
497699252779468<...>
Checker Information
30th words differ - expected: '540168913th', found: '540168913rd'

#8

4ms / 8832KB / Wrong Answer
Input
892410553
97979599672072
5230206602727833157823187957595418853707455602915427693043549314808949099383618
87021073451947623361695525528704701472805851803432446435970373219964964637659300732875777666
5626359352512805755875715251338131197418319040
64465900791050861629653972335579219349501
596631392
1383265662811103390926736826742188841527120400692895259572178978024471766911265
21671276728613025500668479
3167022611355196467965919510875970348440125719889459518579567045712769373933611762757395939668047934
23941544681738259963504443566966915805105667904151475222992600364784931930
686538423842171371737568239439552949010820536986100508747008562
7145587548236486974661789638283087661087827689510448220725926309074860623235
80142855574982359438321735539441130171808309232860
66011916997191
3813342250055326139852394429562295005638258073952296348507077053290579159349704403076329016776809
89120
696928131251139910144000
893573577074650729888841
1876098249746153228102309481223143397367854152051714190410864297<...>
Output
892410553rd
97979599672072nd
5230206602727833157823187957595418853707455602915427693043549314808949099383618th
87021073451947623361695525528704701472805851803432446435970373219964964637659300732875777666th
5626359352512805755875715251338131197418319040th
64465900791050861629653972335579219349501st
596631392nd
1383265662811103390926736826742188841527120400692895259572178978024471766911265th
21671276728613025500668479th
3167022611355196467965919510875970348440125719889459518579567045712769373933611762757395939668047934th
23941544681738259963504443566966915805105667904151475222992600364784931930th
686538423842171371737568239439552949010820536986100508747008562nd
7145587548236486974661789638283087661087827689510448220725926309074860623235th
80142855574982359438321735539441130171808309232860th
66011916997191st
3813342250055326139852394429562295005638258073952296348507077053290579159349704403076329016776809th
89120th
696928131251139910144000th
893573577074650729888841st
187609824974615322810230948122314339736785415<...>
Answer
892410553rd
97979599672072nd
5230206602727833157823187957595418853707455602915427693043549314808949099383618th
87021073451947623361695525528704701472805851803432446435970373219964964637659300732875777666th
5626359352512805755875715251338131197418319040th
64465900791050861629653972335579219349501st
596631392nd
1383265662811103390926736826742188841527120400692895259572178978024471766911265th
21671276728613025500668479th
3167022611355196467965919510875970348440125719889459518579567045712769373933611762757395939668047934th
23941544681738259963504443566966915805105667904151475222992600364784931930th
686538423842171371737568239439552949010820536986100508747008562nd
7145587548236486974661789638283087661087827689510448220725926309074860623235th
80142855574982359438321735539441130171808309232860th
66011916997191st
3813342250055326139852394429562295005638258073952296348507077053290579159349704403076329016776809th
89120th
696928131251139910144000th
893573577074650729888841st
18760982497461532281023094<...>
Checker Information
39th words differ - expected: '119220997892464360570602072594...03333202286838050811797464012th', found: '119220997892464360570602072594...03333202286838050811797464012nd'

#9

5ms / 8836KB / Wrong Answer
Input
51492920467849097147463504859312774780783906562154612878833455680009853622510302937
54641923032619068127345633787744001799220965158031819877216
56168288982762335515079435755489070892590477334456754
7358825405732114585485465270574862659876818278311319691932030390489248983612618985
38059040369991214141416118047534
9469460917103
1982047737245392480550502859338408923134626856139171427369616661991907912151906909301264604574262
143825384525660451769
434028137610044181490307240269249383656264985123918610999153829
3579254710301209268797607061055309839296402144710304539522871110785450482432874864288260898
4408424076019859537406830306609893083126471256414714166066458420689869216463502827476205813
63160825781779930287130181020303304495181180806045067972417067696215070999017078016902801
842797918252449794088
575160591158192763797023105557803377106231749505912859651892
67
3097174501558309147979687302139861795970398921446026436022272686275986216767846525180622001447307
84407624046842050220176514860258053304<...>
Output
51492920467849097147463504859312774780783906562154612878833455680009853622510302937th
54641923032619068127345633787744001799220965158031819877216th
56168288982762335515079435755489070892590477334456754th
7358825405732114585485465270574862659876818278311319691932030390489248983612618985th
38059040369991214141416118047534th
9469460917103rd
1982047737245392480550502859338408923134626856139171427369616661991907912151906909301264604574262nd
143825384525660451769th
434028137610044181490307240269249383656264985123918610999153829th
3579254710301209268797607061055309839296402144710304539522871110785450482432874864288260898th
4408424076019859537406830306609893083126471256414714166066458420689869216463502827476205813rd
63160825781779930287130181020303304495181180806045067972417067696215070999017078016902801st
842797918252449794088th
575160591158192763797023105557803377106231749505912859651892nd
67th
3097174501558309147979687302139861795970398921446026436022272686275986216767846525180622001447307th
8440762404684205022017<...>
Answer
51492920467849097147463504859312774780783906562154612878833455680009853622510302937th
54641923032619068127345633787744001799220965158031819877216th
56168288982762335515079435755489070892590477334456754th
7358825405732114585485465270574862659876818278311319691932030390489248983612618985th
38059040369991214141416118047534th
9469460917103rd
1982047737245392480550502859338408923134626856139171427369616661991907912151906909301264604574262nd
143825384525660451769th
434028137610044181490307240269249383656264985123918610999153829th
3579254710301209268797607061055309839296402144710304539522871110785450482432874864288260898th
4408424076019859537406830306609893083126471256414714166066458420689869216463502827476205813th
63160825781779930287130181020303304495181180806045067972417067696215070999017078016902801st
842797918252449794088th
575160591158192763797023105557803377106231749505912859651892nd
67th
3097174501558309147979687302139861795970398921446026436022272686275986216767846525180622001447307th
844076<...>
Checker Information
11th words differ - expected: '440842407601985953740683030660...20689869216463502827476205813th', found: '440842407601985953740683030660...20689869216463502827476205813rd'

#10

6ms / 8832KB / Wrong Answer
Input
6353589343528041938811738833342328424228048174697857310889
74552941051417945355143738
8255716822027160056109605774588321911899327114842060650933714101185331609267341196313335
91695625077220922464901404618409609333067357326902412201220011118542285976260
571702842553202
98806227541044588727531401252155481832423379536367929783703516983
7373605560763168341567268278418742066218925106662009614433904227705576
970919268395508910083454635734918553499289972946853549369971775698263894646617656
53475526561183624935342345980133507926155150307429131629179193801601
588851999512728465750981049623542678629438796119186740831815859814427699261479711
38407279257344982167965953480588101527
235597873562202731749947991107
4947580508174885866625481919003549622196056858050338197315382340533315031239815753651188337
1471624090956836732077529566899028424313305993465532818477341752191959383100
5834402014994396639525206609438282993484165666741801898920976189747305836093728
506692945446029753196778338279385190416530979144213<...>
Output
6353589343528041938811738833342328424228048174697857310889th
74552941051417945355143738th
8255716822027160056109605774588321911899327114842060650933714101185331609267341196313335th
91695625077220922464901404618409609333067357326902412201220011118542285976260th
571702842553202nd
98806227541044588727531401252155481832423379536367929783703516983rd
7373605560763168341567268278418742066218925106662009614433904227705576th
970919268395508910083454635734918553499289972946853549369971775698263894646617656th
53475526561183624935342345980133507926155150307429131629179193801601st
588851999512728465750981049623542678629438796119186740831815859814427699261479711st
38407279257344982167965953480588101527th
235597873562202731749947991107th
4947580508174885866625481919003549622196056858050338197315382340533315031239815753651188337th
1471624090956836732077529566899028424313305993465532818477341752191959383100th
5834402014994396639525206609438282993484165666741801898920976189747305836093728th
506692945446029753196778338279385190<...>
Answer
6353589343528041938811738833342328424228048174697857310889th
74552941051417945355143738th
8255716822027160056109605774588321911899327114842060650933714101185331609267341196313335th
91695625077220922464901404618409609333067357326902412201220011118542285976260th
571702842553202nd
98806227541044588727531401252155481832423379536367929783703516983rd
7373605560763168341567268278418742066218925106662009614433904227705576th
970919268395508910083454635734918553499289972946853549369971775698263894646617656th
53475526561183624935342345980133507926155150307429131629179193801601st
588851999512728465750981049623542678629438796119186740831815859814427699261479711th
38407279257344982167965953480588101527th
235597873562202731749947991107th
4947580508174885866625481919003549622196056858050338197315382340533315031239815753651188337th
1471624090956836732077529566899028424313305993465532818477341752191959383100th
5834402014994396639525206609438282993484165666741801898920976189747305836093728th
506692945446029753196<...>
Checker Information
10th words differ - expected: '588851999512728465750981049623...40831815859814427699261479711th', found: '588851999512728465750981049623...40831815859814427699261479711st'

#11

4ms / 8836KB / Wrong Answer
Input
58104381743689897268947223
14537760958473292514074113038163917167640631917802287817830
55460165671077504051822099824805731534471507459953111899783356377520327246717831385675342669531
25752110263892610138442833786676756724449857285833
58942154066635826085687886157557199011992890538267243805178502435373616751373379778122401159
148347070679689105820287176388241496220242197
328290219045500499484254225
25070148652455099703948912384392827272560751623512285147857203763331926669680351
36563887446348354
1580791375156578502771372569511
80283896961319036839669678320583578023617999
2544912718
9657708860766398908603433466323602033397
960465247279729
1340702004267217397104005212575854884
9745038079552343721119685007719260828926654012308699313717912626094692780182861050873757223525875188
7791392066080823
221310701798576831614227904152919
8677679515836298260500980161276922962714012506968
366616760614862024355104548502586517313998594037701229109109097640344985315570359111
1685078737759469192676029800586221<...>
Output
58104381743689897268947223rd
14537760958473292514074113038163917167640631917802287817830th
55460165671077504051822099824805731534471507459953111899783356377520327246717831385675342669531st
25752110263892610138442833786676756724449857285833rd
58942154066635826085687886157557199011992890538267243805178502435373616751373379778122401159th
148347070679689105820287176388241496220242197th
328290219045500499484254225th
25070148652455099703948912384392827272560751623512285147857203763331926669680351st
36563887446348354th
1580791375156578502771372569511st
80283896961319036839669678320583578023617999th
2544912718th
9657708860766398908603433466323602033397th
960465247279729th
1340702004267217397104005212575854884th
9745038079552343721119685007719260828926654012308699313717912626094692780182861050873757223525875188th
7791392066080823rd
221310701798576831614227904152919th
8677679515836298260500980161276922962714012506968th
366616760614862024355104548502586517313998594037701229109109097640344985315570359111st
16850787377594<...>
Answer
58104381743689897268947223rd
14537760958473292514074113038163917167640631917802287817830th
55460165671077504051822099824805731534471507459953111899783356377520327246717831385675342669531st
25752110263892610138442833786676756724449857285833rd
58942154066635826085687886157557199011992890538267243805178502435373616751373379778122401159th
148347070679689105820287176388241496220242197th
328290219045500499484254225th
25070148652455099703948912384392827272560751623512285147857203763331926669680351st
36563887446348354th
1580791375156578502771372569511th
80283896961319036839669678320583578023617999th
2544912718th
9657708860766398908603433466323602033397th
960465247279729th
1340702004267217397104005212575854884th
9745038079552343721119685007719260828926654012308699313717912626094692780182861050873757223525875188th
7791392066080823rd
221310701798576831614227904152919th
8677679515836298260500980161276922962714012506968th
3666167606148620243551045485025865173139985940377012291091090976403449853155703591<...>
Checker Information
10th words differ - expected: '1580791375156578502771372569511th', found: '1580791375156578502771372569511st'

#12

3ms / 8756KB / Wrong Answer
Input
3005716671203011861760001490356328675834280245522225241569568888960857288613605198988592240892422792
71571964377798
128960416953538225073493803259718487189
713793497240123333527567551077906889527445672900466363987179356935
413795
9984147979149048012947710986
3508232339863721960590024114090029166701473428312130906979773296280653352286889704269718043620
742911612897295707995462833969524977642106711209172213926145866875766409822057469870
984142067647
7146474602250765841075790734238469397836421905153245583808282989663566978318415563
96591610002552888631649002657263087441167263916059
97388568690326750106084588740638129
32291818571581322830525207277170935047793357003436245961897835268362241858646610354087314256809233
1942
1997629753450588445870311485512642538326678463755104826332
553017571891806507157
479703016073635238677137469424560746656772258260320109226039463246244779687214442544
194190213554013287201760487299810406
509626423317738234436403240511948430033444231687200139765
917476709618675330<...>
Output
3005716671203011861760001490356328675834280245522225241569568888960857288613605198988592240892422792nd
71571964377798th
128960416953538225073493803259718487189th
713793497240123333527567551077906889527445672900466363987179356935th
413795th
9984147979149048012947710986th
3508232339863721960590024114090029166701473428312130906979773296280653352286889704269718043620th
742911612897295707995462833969524977642106711209172213926145866875766409822057469870th
984142067647th
7146474602250765841075790734238469397836421905153245583808282989663566978318415563rd
96591610002552888631649002657263087441167263916059th
97388568690326750106084588740638129th
32291818571581322830525207277170935047793357003436245961897835268362241858646610354087314256809233rd
1942nd
1997629753450588445870311485512642538326678463755104826332nd
553017571891806507157th
479703016073635238677137469424560746656772258260320109226039463246244779687214442544th
194190213554013287201760487299810406th
509626423317738234436403240511948430033444231687200139765th<...>
Answer
3005716671203011861760001490356328675834280245522225241569568888960857288613605198988592240892422792nd
71571964377798th
128960416953538225073493803259718487189th
713793497240123333527567551077906889527445672900466363987179356935th
413795th
9984147979149048012947710986th
3508232339863721960590024114090029166701473428312130906979773296280653352286889704269718043620th
742911612897295707995462833969524977642106711209172213926145866875766409822057469870th
984142067647th
7146474602250765841075790734238469397836421905153245583808282989663566978318415563rd
96591610002552888631649002657263087441167263916059th
97388568690326750106084588740638129th
32291818571581322830525207277170935047793357003436245961897835268362241858646610354087314256809233rd
1942nd
1997629753450588445870311485512642538326678463755104826332nd
553017571891806507157th
479703016073635238677137469424560746656772258260320109226039463246244779687214442544th
194190213554013287201760487299810406th
50962642331773823443640324051194843003344<...>
Checker Information
61st words differ - expected: '464904188897477979964837713060...98237176393976963277072780513th', found: '464904188897477979964837713060...98237176393976963277072780513rd'

#13

4ms / 8800KB / Wrong Answer
Input
722970396705905108583427953795749942197492877491342036367559577598307786795
417964066194462368088833388913502614697255430693994555563893817857378951
68583835373995191469580242788272907207411376316142031639315311191770366714
477197722585518742584
457206408138447104874409855827589629512304
441870770955063727170539270463152754760571365801898282413
12887394
976450476345278456290477685375935580104149601055742008814521397121902019
8545564630874068981162439844566157874911436545476061720553824246835458
42703652145481704432335832665399741617277358995297860421601983608851051578332
249809978025507724812329252331838111576100914840375114659837308114321337187458
37262881979037785563256386768479815459
321897
7875212603899016309741043709710534495560860046818258376183905480390
239786694540302327977934765822671816378583484836631918145545208482653734255721307897249783203
472233974214747112901842514332200311306056101259576808960486
302573600550357231583569874329511077021348877977763058150
72893232356477457766240<...>
Output
722970396705905108583427953795749942197492877491342036367559577598307786795th
417964066194462368088833388913502614697255430693994555563893817857378951st
68583835373995191469580242788272907207411376316142031639315311191770366714th
477197722585518742584th
457206408138447104874409855827589629512304th
441870770955063727170539270463152754760571365801898282413rd
12887394th
976450476345278456290477685375935580104149601055742008814521397121902019th
8545564630874068981162439844566157874911436545476061720553824246835458th
42703652145481704432335832665399741617277358995297860421601983608851051578332nd
249809978025507724812329252331838111576100914840375114659837308114321337187458th
37262881979037785563256386768479815459th
321897th
7875212603899016309741043709710534495560860046818258376183905480390th
239786694540302327977934765822671816378583484836631918145545208482653734255721307897249783203rd
472233974214747112901842514332200311306056101259576808960486th
302573600550357231583569874329511077021348877977763058150th
728932<...>
Answer
722970396705905108583427953795749942197492877491342036367559577598307786795th
417964066194462368088833388913502614697255430693994555563893817857378951st
68583835373995191469580242788272907207411376316142031639315311191770366714th
477197722585518742584th
457206408138447104874409855827589629512304th
441870770955063727170539270463152754760571365801898282413th
12887394th
976450476345278456290477685375935580104149601055742008814521397121902019th
8545564630874068981162439844566157874911436545476061720553824246835458th
42703652145481704432335832665399741617277358995297860421601983608851051578332nd
249809978025507724812329252331838111576100914840375114659837308114321337187458th
37262881979037785563256386768479815459th
321897th
7875212603899016309741043709710534495560860046818258376183905480390th
239786694540302327977934765822671816378583484836631918145545208482653734255721307897249783203rd
472233974214747112901842514332200311306056101259576808960486th
30257360055035723158356987432951107702134887797776<...>
Checker Information
6th words differ - expected: '441870770955063727170539270463152754760571365801898282413th', found: '441870770955063727170539270463152754760571365801898282413rd'

#14

4ms / 8876KB / Wrong Answer
Input
2233092164193281200017577883468432597005484273597
54936634134712774977474127260071178167516681829076456444958961687
465299361726684355408288749441743485479771420970056791681510328865
44700815432566151125536244728417105858344601607216897960216027985200481132582310709
654731279870206952267875553699936862623599275677691364944686527384079639974330310228310
8517506374619540779058156482657982052969996082650945548147945580054683851
162563451256371796703667697324461702498478011925372287593369434836128
54999362477596935823222279089334513941940963906899924122313
586374142701350551022289014671657429739719282814790894633645849629610227322769163493775319438
262386840406295480490858071147272629659777774869426524886393805277219911276709988283141
62331593280135842008644672556223761829355076657238008552078588668534424923495464105366761143123
87714158405296429111277258230566
510591539788554752954259220928151967936006974785700195787761799269203066268428755086474428628655
260529731531012339
279
7346458147176054359<...>
Output
2233092164193281200017577883468432597005484273597th
54936634134712774977474127260071178167516681829076456444958961687th
465299361726684355408288749441743485479771420970056791681510328865th
44700815432566151125536244728417105858344601607216897960216027985200481132582310709th
654731279870206952267875553699936862623599275677691364944686527384079639974330310228310th
8517506374619540779058156482657982052969996082650945548147945580054683851st
162563451256371796703667697324461702498478011925372287593369434836128th
54999362477596935823222279089334513941940963906899924122313rd
586374142701350551022289014671657429739719282814790894633645849629610227322769163493775319438th
262386840406295480490858071147272629659777774869426524886393805277219911276709988283141st
62331593280135842008644672556223761829355076657238008552078588668534424923495464105366761143123rd
87714158405296429111277258230566th
510591539788554752954259220928151967936006974785700195787761799269203066268428755086474428628655th
260529731531012339th
279th
7346<...>
Answer
2233092164193281200017577883468432597005484273597th
54936634134712774977474127260071178167516681829076456444958961687th
465299361726684355408288749441743485479771420970056791681510328865th
44700815432566151125536244728417105858344601607216897960216027985200481132582310709th
654731279870206952267875553699936862623599275677691364944686527384079639974330310228310th
8517506374619540779058156482657982052969996082650945548147945580054683851st
162563451256371796703667697324461702498478011925372287593369434836128th
54999362477596935823222279089334513941940963906899924122313th
586374142701350551022289014671657429739719282814790894633645849629610227322769163493775319438th
262386840406295480490858071147272629659777774869426524886393805277219911276709988283141st
62331593280135842008644672556223761829355076657238008552078588668534424923495464105366761143123rd
87714158405296429111277258230566th
510591539788554752954259220928151967936006974785700195787761799269203066268428755086474428628655th
260529731531012339<...>
Checker Information
8th words differ - expected: '54999362477596935823222279089334513941940963906899924122313th', found: '54999362477596935823222279089334513941940963906899924122313rd'

#15

4ms / 8816KB / Wrong Answer
Input
844910966196011331598395
120
68434344592279199999040687014216857084630675
2950772700485700244909886129965062
888385804982232068152295
850653
3105303027489214177077905169493934900083755138312061807708
7994952067820680628316700890219832398056234075072048578122843908199500524
69745830509039706802532539080399559795170
3
8022676644000589878374790941
74025647926658570873553550032657018744092882058529051075510
65927950056489089243740
8430405023350821359225433570146245076031683942852531413473205319646712372647399
902914504881355025916166864478056019438545474
3411207763088644627018
7208449665639353785960887
6785598556500181627870419498238115749146881779283556784484331891107
35777440149815297984428915
967201862162058786344676922391387323038454562635640186049640947679362815807820361846357600428829063
33723689000641143207330832376275161384192808640613507463
3717977845368953
8037940772066562027840875056314206283253387408061887185513607820372009764248335135027
4106437483165472295015441258816915243266<...>
Output
844910966196011331598395th
120th
68434344592279199999040687014216857084630675th
2950772700485700244909886129965062nd
888385804982232068152295th
850653rd
3105303027489214177077905169493934900083755138312061807708th
7994952067820680628316700890219832398056234075072048578122843908199500524th
69745830509039706802532539080399559795170th
3rd
8022676644000589878374790941st
74025647926658570873553550032657018744092882058529051075510th
65927950056489089243740th
8430405023350821359225433570146245076031683942852531413473205319646712372647399th
902914504881355025916166864478056019438545474th
3411207763088644627018th
7208449665639353785960887th
6785598556500181627870419498238115749146881779283556784484331891107th
35777440149815297984428915th
967201862162058786344676922391387323038454562635640186049640947679362815807820361846357600428829063rd
33723689000641143207330832376275161384192808640613507463rd
3717977845368953rd
8037940772066562027840875056314206283253387408061887185513607820372009764248335135027th
41064374831654722<...>
Answer
844910966196011331598395th
120th
68434344592279199999040687014216857084630675th
2950772700485700244909886129965062nd
888385804982232068152295th
850653rd
3105303027489214177077905169493934900083755138312061807708th
7994952067820680628316700890219832398056234075072048578122843908199500524th
69745830509039706802532539080399559795170th
3rd
8022676644000589878374790941st
74025647926658570873553550032657018744092882058529051075510th
65927950056489089243740th
8430405023350821359225433570146245076031683942852531413473205319646712372647399th
902914504881355025916166864478056019438545474th
3411207763088644627018th
7208449665639353785960887th
6785598556500181627870419498238115749146881779283556784484331891107th
35777440149815297984428915th
967201862162058786344676922391387323038454562635640186049640947679362815807820361846357600428829063rd
33723689000641143207330832376275161384192808640613507463rd
3717977845368953rd
80379407720665620278408750563142062832533874080618871855136078203720097642483351350<...>
Checker Information
35th words differ - expected: '2155678613th', found: '2155678613rd'

#16

5ms / 8788KB / Wrong Answer
Input
56634969487043535390572330795723551185954791103614945269580798756943662882919241284371011533338251
9960317252525388232335082947878332848348534877534684036868079351953190017286865507
743959903160158102394002485213191837578432161141848679157664100582340
975461890669905034546797
9354319394313228637238267629535742435242496145083187823581057989
538506606801787922110563597637220018529395643129201685750510239
6544609242940554180004739819294446954722825050638362035682
581901121838455107581606507377131827375260199
584174293709909630279446937434439347328515317550662606577094146705358065222550650
7573748514437339760510855335263570233815958545473590011850083059509963051744386561
978214662910363
25429861919253529683
9
694569350247056924235245119366160886940947164773760666937679439
5887457559514043935936180037650222162590516900812173247560268443
91807697117708767380454074769333001149965654074092362242511337981580078
37349876128929953228372719492067455877319411911499199311714
8817767492170566148686653314375<...>
Output
56634969487043535390572330795723551185954791103614945269580798756943662882919241284371011533338251st
9960317252525388232335082947878332848348534877534684036868079351953190017286865507th
743959903160158102394002485213191837578432161141848679157664100582340th
975461890669905034546797th
9354319394313228637238267629535742435242496145083187823581057989th
538506606801787922110563597637220018529395643129201685750510239th
6544609242940554180004739819294446954722825050638362035682nd
581901121838455107581606507377131827375260199th
584174293709909630279446937434439347328515317550662606577094146705358065222550650th
7573748514437339760510855335263570233815958545473590011850083059509963051744386561st
978214662910363rd
25429861919253529683rd
9th
694569350247056924235245119366160886940947164773760666937679439th
5887457559514043935936180037650222162590516900812173247560268443rd
91807697117708767380454074769333001149965654074092362242511337981580078th
37349876128929953228372719492067455877319411911499199311714th
88177674921705<...>
Answer
56634969487043535390572330795723551185954791103614945269580798756943662882919241284371011533338251st
9960317252525388232335082947878332848348534877534684036868079351953190017286865507th
743959903160158102394002485213191837578432161141848679157664100582340th
975461890669905034546797th
9354319394313228637238267629535742435242496145083187823581057989th
538506606801787922110563597637220018529395643129201685750510239th
6544609242940554180004739819294446954722825050638362035682nd
581901121838455107581606507377131827375260199th
584174293709909630279446937434439347328515317550662606577094146705358065222550650th
7573748514437339760510855335263570233815958545473590011850083059509963051744386561st
978214662910363rd
25429861919253529683rd
9th
694569350247056924235245119366160886940947164773760666937679439th
5887457559514043935936180037650222162590516900812173247560268443rd
91807697117708767380454074769333001149965654074092362242511337981580078th
37349876128929953228372719492067455877319411911499199311714t<...>
Checker Information
63rd words differ - expected: '111073626427654168198897200190...02763942759266417531895366613th', found: '111073626427654168198897200190...02763942759266417531895366613rd'

#17

5ms / 8764KB / Wrong Answer
Input
587758344484838575412361931527240618461611563976369865616600656098778694
77229418255308260777102
640368696988722893925872
86059862
594214530120983031321732552610444120550759918687039
948609300443770003897677941378576963251475790971094947415
52879482538973871846210150035522052492143
863694233834990884918979066655316
2769595985154519090016410193181153284100631484049417096980148534685473083254006565633608615117266
55
826317656129155106693715309220172419043048926455779756473172644096616
778156353903898714131204853744955145
29185604950490513677121150475873080184669055
12949425425263202003489
868609959075604212408418024019811106
515581710199509933276125636355012857910381589894486722476194087471977862203919
91591851950043434433
154989641878413852921051
7049706840042568860809286003347259610995226368678509850717441276688194937923587657020721455500
333759493346351852330118982434494890089180173337578
632982434816374669111960191532339312340
302878300568709750744744178438566273598348681940356472402265<...>
Output
587758344484838575412361931527240618461611563976369865616600656098778694th
77229418255308260777102nd
640368696988722893925872nd
86059862nd
594214530120983031321732552610444120550759918687039th
948609300443770003897677941378576963251475790971094947415th
52879482538973871846210150035522052492143rd
863694233834990884918979066655316th
2769595985154519090016410193181153284100631484049417096980148534685473083254006565633608615117266th
55th
826317656129155106693715309220172419043048926455779756473172644096616th
778156353903898714131204853744955145th
29185604950490513677121150475873080184669055th
12949425425263202003489th
868609959075604212408418024019811106th
515581710199509933276125636355012857910381589894486722476194087471977862203919th
91591851950043434433rd
154989641878413852921051st
7049706840042568860809286003347259610995226368678509850717441276688194937923587657020721455500th
333759493346351852330118982434494890089180173337578th
632982434816374669111960191532339312340th
302878300568709750744744178438566273598<...>
Answer
587758344484838575412361931527240618461611563976369865616600656098778694th
77229418255308260777102nd
640368696988722893925872nd
86059862nd
594214530120983031321732552610444120550759918687039th
948609300443770003897677941378576963251475790971094947415th
52879482538973871846210150035522052492143rd
863694233834990884918979066655316th
2769595985154519090016410193181153284100631484049417096980148534685473083254006565633608615117266th
55th
826317656129155106693715309220172419043048926455779756473172644096616th
778156353903898714131204853744955145th
29185604950490513677121150475873080184669055th
12949425425263202003489th
868609959075604212408418024019811106th
515581710199509933276125636355012857910381589894486722476194087471977862203919th
91591851950043434433rd
154989641878413852921051st
7049706840042568860809286003347259610995226368678509850717441276688194937923587657020721455500th
333759493346351852330118982434494890089180173337578th
632982434816374669111960191532339312340th
302878300568709750<...>
Checker Information
26th words differ - expected: '9398162934980185458464665493263211th', found: '9398162934980185458464665493263211st'

#18

5ms / 8876KB / Wrong Answer
Input
28726827516954159790977974626635779309686731471
282758252935267101117726060833
4766695566989666326639448224690197937270935059551070124261427316054
141287672321832148231118568279290485466991571913156169554925705624186559491999311913674043999
98367269859294858502238351755112685914690043817507747
57264995861154769674273489
17623019686232001303827818464
9695900693836001
44965466596282772705
636434110495506867162691004445525235
501923867562487981472696289834293486970338205443704311305067774920826686301576194828
96254462139255295477060992560926045628703733128018
4397952848753953611166833925514564767940960739386284623895118250327169127544
4815181823505542442129341185224169534923399031864820310840364348218218148805
735232976045645411934393670011561288696764
2103630670398834500119171316352879092998435322528884851740319224640716394821384399005278
131864607725145395570374484157359861648088678172122848090870955702683
6945732055105316174042806702876879360646286223128958444
44986697954946068400342036933
<...>
Output
28726827516954159790977974626635779309686731471st
282758252935267101117726060833rd
4766695566989666326639448224690197937270935059551070124261427316054th
141287672321832148231118568279290485466991571913156169554925705624186559491999311913674043999th
98367269859294858502238351755112685914690043817507747th
57264995861154769674273489th
17623019686232001303827818464th
9695900693836001st
44965466596282772705th
636434110495506867162691004445525235th
501923867562487981472696289834293486970338205443704311305067774920826686301576194828th
96254462139255295477060992560926045628703733128018th
4397952848753953611166833925514564767940960739386284623895118250327169127544th
4815181823505542442129341185224169534923399031864820310840364348218218148805th
735232976045645411934393670011561288696764th
2103630670398834500119171316352879092998435322528884851740319224640716394821384399005278th
131864607725145395570374484157359861648088678172122848090870955702683rd
6945732055105316174042806702876879360646286223128958444th
4498669795494<...>
Answer
28726827516954159790977974626635779309686731471st
282758252935267101117726060833rd
4766695566989666326639448224690197937270935059551070124261427316054th
141287672321832148231118568279290485466991571913156169554925705624186559491999311913674043999th
98367269859294858502238351755112685914690043817507747th
57264995861154769674273489th
17623019686232001303827818464th
9695900693836001st
44965466596282772705th
636434110495506867162691004445525235th
501923867562487981472696289834293486970338205443704311305067774920826686301576194828th
96254462139255295477060992560926045628703733128018th
4397952848753953611166833925514564767940960739386284623895118250327169127544th
4815181823505542442129341185224169534923399031864820310840364348218218148805th
735232976045645411934393670011561288696764th
2103630670398834500119171316352879092998435322528884851740319224640716394821384399005278th
131864607725145395570374484157359861648088678172122848090870955702683rd
694573205510531617404280670287687936064628622312895844<...>
Checker Information
28th words differ - expected: '920162384737717425935141173920...74925143362329431204647716712th', found: '920162384737717425935141173920...74925143362329431204647716712nd'

#19

5ms / 8904KB / Wrong Answer
Input
808697913853945708314
6560918451091600911166673736688925086395529455548640644835757669289132194341776
2326722689702209505602103209018037971034859085541240525100
18524515764774231049404963782587026754481838728515487974511813648560186192764262272713514691931
949400240320100103918726847479073615407684290276165497624033409111291485146520394102655436873028408
25878820136
198043171040018799628353429
77934330277632606357129
3080651170380252911036856482494004964255094832599604322312
30596618613941251943697054345
2108723515753500311780780206203489
493247029312161322729
364365455191835960475955422472938622159704800334362722
51046052584435290966012927527
9530228243010874543728207743416892821341999137416781869465978957740873458152395559904806372553
5196597991094481020316123210251323459488
4034
7671231925164467211343421408071950029672879242989
70044533109647
78420824020245421578647904625853515362001959483934117188781035552392327024104316455151
439914517930645958931837281712501
711560790720904921982281<...>
Output
808697913853945708314th
6560918451091600911166673736688925086395529455548640644835757669289132194341776th
2326722689702209505602103209018037971034859085541240525100th
18524515764774231049404963782587026754481838728515487974511813648560186192764262272713514691931st
949400240320100103918726847479073615407684290276165497624033409111291485146520394102655436873028408th
25878820136th
198043171040018799628353429th
77934330277632606357129th
3080651170380252911036856482494004964255094832599604322312nd
30596618613941251943697054345th
2108723515753500311780780206203489th
493247029312161322729th
364365455191835960475955422472938622159704800334362722nd
51046052584435290966012927527th
9530228243010874543728207743416892821341999137416781869465978957740873458152395559904806372553rd
5196597991094481020316123210251323459488th
4034th
7671231925164467211343421408071950029672879242989th
70044533109647th
78420824020245421578647904625853515362001959483934117188781035552392327024104316455151st
439914517930645958931837281712501st
711<...>
Answer
808697913853945708314th
6560918451091600911166673736688925086395529455548640644835757669289132194341776th
2326722689702209505602103209018037971034859085541240525100th
18524515764774231049404963782587026754481838728515487974511813648560186192764262272713514691931st
949400240320100103918726847479073615407684290276165497624033409111291485146520394102655436873028408th
25878820136th
198043171040018799628353429th
77934330277632606357129th
3080651170380252911036856482494004964255094832599604322312th
30596618613941251943697054345th
2108723515753500311780780206203489th
493247029312161322729th
364365455191835960475955422472938622159704800334362722nd
51046052584435290966012927527th
9530228243010874543728207743416892821341999137416781869465978957740873458152395559904806372553rd
5196597991094481020316123210251323459488th
4034th
7671231925164467211343421408071950029672879242989th
70044533109647th
78420824020245421578647904625853515362001959483934117188781035552392327024104316455151st
4399145179306459589<...>
Checker Information
9th words differ - expected: '3080651170380252911036856482494004964255094832599604322312th', found: '3080651170380252911036856482494004964255094832599604322312nd'

#20

5ms / 8724KB / Wrong Answer
Input
10
11
12
13
14
4362280953952605198860384610848815755446697738247884699448496329196817139505797244854245194750
63591045613360018040727516919112323611610080252967918152024191121671792124312574708474793406624
2372611924818487216888903115607346489763271540094164551121085764
752796849794160209615325977676498114943
69592312288
9326096846700228799364043495316987470120695310288430278774583710992735297983424030113398582868
2587996045787073956809302839014981699666864042
6172909588993489990970192319748427439787478234639611238680534356097783234365435316690152667533188
384961
105163190605379758582817767738267010119748578377318313399458481674937
2734348686131410120424273831111966462353024348383820007078106320611068462450823
676904175113239467992424
86619562675960056539016301188268155226737600704912236751188135
710639604104796520501035
22026309174419579937244430431210069718889630947165918867646539612412402094881489958224498
4703947
3959943060839184730335180782244105667707009878076332177884
742252802909<...>
Output
10th
11st
12nd
13rd
14th
4362280953952605198860384610848815755446697738247884699448496329196817139505797244854245194750th
63591045613360018040727516919112323611610080252967918152024191121671792124312574708474793406624th
2372611924818487216888903115607346489763271540094164551121085764th
752796849794160209615325977676498114943rd
69592312288th
9326096846700228799364043495316987470120695310288430278774583710992735297983424030113398582868th
2587996045787073956809302839014981699666864042nd
6172909588993489990970192319748427439787478234639611238680534356097783234365435316690152667533188th
384961st
105163190605379758582817767738267010119748578377318313399458481674937th
2734348686131410120424273831111966462353024348383820007078106320611068462450823rd
676904175113239467992424th
86619562675960056539016301188268155226737600704912236751188135th
710639604104796520501035th
22026309174419579937244430431210069718889630947165918867646539612412402094881489958224498th
4703947th
395994306083918473033518078224410566770700987807633<...>
Answer
10th
11th
12th
13th
14th
4362280953952605198860384610848815755446697738247884699448496329196817139505797244854245194750th
63591045613360018040727516919112323611610080252967918152024191121671792124312574708474793406624th
2372611924818487216888903115607346489763271540094164551121085764th
752796849794160209615325977676498114943rd
69592312288th
9326096846700228799364043495316987470120695310288430278774583710992735297983424030113398582868th
2587996045787073956809302839014981699666864042nd
6172909588993489990970192319748427439787478234639611238680534356097783234365435316690152667533188th
384961st
105163190605379758582817767738267010119748578377318313399458481674937th
2734348686131410120424273831111966462353024348383820007078106320611068462450823rd
676904175113239467992424th
86619562675960056539016301188268155226737600704912236751188135th
710639604104796520501035th
22026309174419579937244430431210069718889630947165918867646539612412402094881489958224498th
4703947th
395994306083918473033518078224<...>
Checker Information
2nd words differ - expected: '11th', found: '11st'
#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;
}

int main(){
	string n;
	while(cin>>n){
		
		char c=n.back();
		if(c=='1'){
			cout<<n<<"st"<<endl;
		}else if(c=='2'){
			cout<<n<<"nd"<<endl;
		}else if(c=='3'){
			cout<<n<<"rd"<<endl;
		}else{
			cout<<n<<"th"<<endl;
		}
	}	
}