diff options
-rw-r--r-- | 2023/01/input | 1000 | ||||
-rwxr-xr-x | 2023/01/puzzle-1.an | 6 | ||||
-rwxr-xr-x | 2023/01/puzzle-2.an | 17 |
3 files changed, 1023 insertions, 0 deletions
diff --git a/2023/01/input b/2023/01/input new file mode 100644 index 0000000..e394817 --- /dev/null +++ b/2023/01/input @@ -0,0 +1,1000 @@ +nine92jnhgqzctpgbcbpz +sevensddvc73three +9986fmfqhdmq8 +7onexmxbzllfqb +six777 +1zbngsixxrfrpr +threeeight9seven +nhds975three6 +ninepgp9 +22fourninetzfourfsnxjglthreeeight +mhcvqmsg7bdj +seven67 +fourone5 +twofour7 +5sixonesix3pzhd +3htvgrzpznhjts52one +52cmzhfrxdfmtgvtfqx7three4szcfchxj +sixtwonine7 +three7938 +67four4 +7zr9 +4qseventwoqqf9bbqg4 +sevenone1srmghlzg +ctwonenxmhspdmnineone7 +8mgzsgmphgceight +ktznbbmkbhln4six +cbtpgzc4 +rxzgrqeightseven18five4txv +jgb95ninetwonine +45mxfg9twodsnnjsfnk1five +29lhfhfkdqfntwo +tssixsixdxjzjjhq35hone +cjfjpcrpcn7rlrlrxslmhpt56189 +5llmdmqgt149sevenoneq6 +l9649twothree +8two34fjxt42 +seven3threelxd66 +46248mmfblpgql9fournine +3cmvxcskh4 +491mzklmbt7bgcrbmspprjgsgv +95eight5five +14qqndrttdrlgqrhmtbninezgjsftb +nine37eight1fcqns +4onethreekzpkpkpmxlpnsvqtlmtrsgznxkckrpsqskbz6 +9vvcsgxq +nlvfrjghsnbnine19 +pdxlsxthvmone25eight +613twoseven9 +123fdx +dnqgrzzmxxdjzknc3 +twodm2 +thprcxhggclfnlsixzhl863ninevzzvfvhz +1fourkbfhhzclz1 +5qvtpll6eight1 +sevenfourninedmrccgnbd8ncbjjm +3threezv6nine +kq279fiveoneone8four +nlqlzbbnrn2 +8jqhncbfsxvrrqxfkv +r5onefive +znlzncgngjlpxhmmmxprseventhree7 +jkpbfpvssixxpfjcs528 +four4fsts53fdgckkz +kjrkflhmlk11psixdhpxbstklx +4788vhrlqltv +1zntp2 +9htgdlbktwo7pthree +37dqpbmqxssvznrzp2nvzcvlnsdoneightq +zkcjnc6zgsrcmvthcjsfgvbtxh +8seven8nine +vnx3 +7dkxxq6298 +one42 +qpjtvfhsnmonethreeqpc5 +2eightlsbsrkkcp9dmmg +818twoseven81dtjrkgvfive +4nine32kjgpljzskthree9 +ninedkxkktxmr1ptrlpkbqqhcjvfszseven +2573 +bskfrcfvc5 +3onevjgpjbqfgone7 +xp55eightsixfive42two +eight64 +13two8zgdmtgngdlsqzlfzskst +zmjdhkfdnine18rkp93 +2onefivesevenrkvqqp3 +47xvdflvxvgvqnqdxj +lvrnrbmthree6 +74j +xkrpgrvrn6745ninefive +839vhbgvnbcmccbvhsm +6128bbzq5vdbqllshr +37two +one3lttgqqdmtpmbzbxqlrshvdpcdgcjhtwotwo9 +fourpjhbseven89kmpzmdqceight +twoninegzgseven5nine +pfflhh6gvlrkrdscthree +8fivesix8jntbb +bzxt439 +8tpcq57 +6onethree +nineqm9eightsevenfxqqcnk4 +9hcxcjfmbb12one6cfvnbc +37threesevenzljkqzshqkcp +trnrncrssxrqmlhbglrspbzvdtlonegtv4one4nineeightwodxs +21fivedqnjnrjtlk2fkkzf9sklbpx3 +hqptwone85eight7lgq +4seven7 +6seven5three6rmcphxdnh283 +8sevenmxkhgsq9bfeightfivemfour +7two1six9smnvbjhfivesevenseven +5hrxbglgkn46grstkdbmzrxp95tt +cfdqbjtwoll3fxvseven6kzfzrblxp +qnhqbczqp7fxc2two +sixsix4sjjdjlxnjgcmqsrzvzljvqhlrrtvtrcqxdzdqt +seven36fourstbzj +zj4fiveninefourtwo2 +5rqpmvlp +3fivextckgmvrsv +threenlqhqshmk31eightsone4hbxfnvf +975five7dzjcnsrvv6fourpjhghvhlxx +nine82plfjneightsevenonefive +five21 +bntwofourrxt2tdrscfzdg +87fivetwo +2threebnpvtrqqnz5prmsppgzdfhnq +6qgpnnine +2vkvg +5zzqxp +sixxlkrhpfptqnhtkq1sevenqbnnnjfsixnine +4eighttwo6lsxpczhcmxs +kvnzcjsbsix1hnineseven +gztwoneseven3tnxb2sixeight457 +four76two9eightfour +nine1nine +14lrrxcds +twonqp5gpnbkbeight3 +fourthreebnjghhlhkhconegcssjrjpbkcghxtxssix4 +one57 +zkjkzq6sjztlrqrjr9 +seveneightsqjzqgnj69eight1 +44tvjvzflfc5seven +26threemjdghknrmv +nfvg2rzcrpntndp2xsglskninesix +nqdpzsevenpfxhvzthgn3 +2onejxpzf4zzktsmszgmpcfsstm6 +xx89 +76qseven +jsevenztsdb9hhmcdbftq +16one7nine +seventwoqdkcbhdpmmtworljxhvvbh1 +jzbvvsmd1 +1ninesixpvcdkllhzbnrhqmztzeight +47pmnvsxgvgbthreenine +two88nine4sptjdbpl8 +eightfxpg9eightgmzmtmcdninerbbcpfv +fourpfkzxjtqffour4fourone +nine5fourzldszlp5eightdhpmxfjqp +onetwo1l +zjxcvkgdvm83 +lrbsdhcthreembbcxsix6 +eighthjtndgmqsixeight9xcbkfkcbgcscfnxrdxglb +vfive9fourcmtpfour +sevenonefour5 +rgf7kgdskzdlnmvdccpgphfzzz9six3 +five7ninernknr +cbn5fxdlthree41pzzkfive5 +two7eight2p +ninenine11qct7five5 +zsrqtvkrlc2gmgzshqmrkgd63sevennine +five6six +threeshpvfrcjc3mddjbmfxqrtpdxninemscsixrvvzp +mrrmmvgk63threethreeseven9 +pjsdfkzmjnine8xqsrm +ninefourfive1 +96twonineqkdvnlmppxnnfbxltq2bvsgvckczk8 +dsjbhdnseven1grgfhnv2fourzhbzsrtb +4zfzmsmd6sbkx1threedbx +8qqfdnfive77ckhjpfx +zq5pdkmp1d +one285seven +2hg99slp8 +5b629cmr5 +8mdsmlqdl7 +11 +leightfivemqqcgdkmgf5bnh +six44jsjglrb9bkhjthreecrvnvkzp +4c83five +vkplqrvclg39nbxrdxlf +zk8bmtnlfb6one53five +32sevenonefourshgllvpcx7ndb +eight937 +four5rntqrhknd +75k +five1pqtthree7eightwogbz +lplnltrj3 +eightfbqknfvpnq797z +six347sevenddrtmtbfzc85fqmtg +7twoqjzfm56rxtwo +vcnxgdvnlpcsxnf5onesjjsh +tkxzgtsrseven5eightkzzchsttcclsrj3l +eightgnb6brlhgvjqqtone41 +seven6two2seven +rptsrgfgxbfivekmczndhk7 +1fourdjmngvm6 +92two68cnpqnksixthree +nine9lzjhvqfmlbtvhpldthree6seven +hfggfbbone5hhsdplqlbtrd +419 +oneszzlpcdthree3psbjhtxg +72sixqblfhxttgkt +t3vd96eighttwofive +6onenszxmlqmddsevencmqskr +cnlkqsjthree7sevenrfrsxqm +47eight5seven4 +five273gvq +8bszrghjsgplgq2vdjltggpv5ngbjtsxr5zmqht +hmtc5onelbxllblcbd +seven436cjsxvxkzjpxfzfvj9 +8qcrkfqnfck957qklqkh3fourfour +bhtnrfckfone9six8 +fgz3seven +2ninesevenpdcpcjnine2two9 +vgfvvjhb6jqjnine +rfsndn62 +vldqdctnonenine3threeghxbvmdmlgcjpfrdjnine3 +two677eight +6ksn +762two +ldppf75nine68xnf79 +eighttwoh5three +nine1threeseven +seven2kxqxgksevenhhsksnkhqcrlrltsixcnszhmn +lhbjnineseven16eightrmjgxdzfour +onetwo77jtgtnqnc8one +four7ninejxkqnhqjfdzrjdhggrvfourlh +qq2brmqcccqr +nlsdfour5eightsktbmxlxc7 +8fpjfstnbnineqgkbxtl5dqdnjqnlz2lcljvfbcl +g6r +6five6sixvjctzjkksbrnkpp3 +1four8sixthree32nbbpjnhmzp +2md +twokxhkggninengbfjmdfc76 +fivetwosix446sevenfkgzd +57vflrqxnbcqfour3hcjhsrrrxkpjxgvfive +svbppr8six66 +twokthreevxdfvtmpjddnl8 +sixnine1eight44seven9 +scsmpjjxlzjf876 +74qhtxntdkz19pchjtlxclm3 +seven8ninenjtvkgj45one +bkseightfourone4threeonesnb +8two8xnglszthreeone +lt771782 +one5cfdcnz +zgsqfmxdkbnhsbgzchmfdrpmkvtzone1 +jmcdgvjnmdhskfiveninevbczbs3 +kzeightwokpnjskjhseveneightkpjb72ninecftgvk +7eightwogbb +54kvfvmfcbxbd +3threeninegrlkrnkpd +phbqqhtdtclfzph58sevenmxmd +8twoonehcnszgqfvxxrqrjctc +two9nltzxg9nine +9vlhb4six17zvgkmh +5threetfdvtthreebgthree +49ttszscztpm +8seven6 +three5eighteightlvqll99 +nxkt5zpctfhdjpvtwofbjdsrnnrvjbjtzgmkmrxpjmntc +11sixfivethree3ninelv +9gszhbpgfjrzvrzgjfsixd3 +jzxv89two8bjkmqmngkgtwotnmdqeightwonrc +qxeightwo5hzpdpzzcmmzskjzfmgpftlxkmzgp +hvfmrxrlslhzkv5 +6pjzbfbmone1 +768gseven9sixseven5 +qmkfslbrcnhtc5two5btgrhbnlx +sevenonefourkgtd79rzfh4eight +9fourvmvbxlvlm8threefour +9sdg8 +8bvrkzfxndjffltghv3blgpzjjckjbqqsqeightqj +qc3jnmtsmpzzjbczbfive +sevenfour949qgkqsjtwo8qqpsvzn +dzlnmhd2rflthreedflj4 +sixseven1 +one6sevenhtpfgpfxfb4vjzhseven2 +twofivefxdc4 +3fourrvffbkkcmxggsevensix3 +djkghxsptqvmztwotwofour13 +4b +rvgvhpdtwo17xzbxnfjrmfjqxf +sevenlzsrq6oneightm +qkxt88twohqzntfcsfournine53 +bmcxgsdjtl2 +74htmkdfg583srrlxbhrjv74 +sixseven6tjtsthqsr +sqpkddjfvfn2vpncllssfqlzjkcfivetwofour1oneightltn +6smrndvvbhkzpffzfggvzfznzvmkmglvptfour +45fttcdmvpl +862 +xmtmbzrtnptwofour3vknngpgt5 +8fivetwosevenk +twoseven9mgzxbcgxvm4f5three +1eight1 +dlone5dvrfrcdmjh +9cvks8eightscbdmkcs +qcgxzddpjljmlzgmt5nzxhnsthreeonefivefour +grvm8kktsfczpkr16stfourone +9onexmznhhtrjrrffmtwo +seven4threesix3rghsgxlxv7 +7twothree +1eight66sevenzbpfpx5nineeight +tdhnbdm5lklnqprmhfnsfndlmqz +gzznvrjbkj7lfdjjsqrmkvtfrdxr +sevenhf2 +eightthreembmlrcnseveneight4vgbgpsvnklbc +mxf7ddcninesixsix +rkskdbpjj25djggzzznineqsfftrptseven +zhklmmknrlvqhvjl1 +two37twosccseven +2pmdscmvfdb +2423six +eight3484oneninevqzdone +91sixeight +2five4mcvktqxg +mkqzbxmqpfouronedtrtvtlh561 +ninetwoqcjdhgfrsllsbnh5lcsixdj +3thmpnfivefivehvjmdrgpzcdtwo +sixone3 +qxrpbbq8szvbxzsctwo8b +9zl4nine +nfdnss4nineninesdtxhhbttnjv +7onevxltxxpktcfgb8two +jjgfive4fiveone8seven +ndnmqfour87jgxzhxsshrpkccvbkhfjbvdznpkjhsfgpgtwonebjc +54qdhsixthreeeight4 +five2mrlthreefour5dstcdl9 +2sevenvrxkfkhvrqcgj +six9one3ninetwo9 +47twoeightonesevenfourseven +4lxjndxb +twoninejlhjnmv77sixthreehfmxnrmsbb8 +5phctbfzjttxbmtqxhbhdjzlsbtdqhjcsqhp4onedpmvsqqxhh +2zxfhnlgfg46twompfpdxq5rkprm +chfgl5hvrhn3ninetwo1four +6fiveeighttbcdxzplsthlqrrqpfnljlkh1 +7nnf6seven3gxptj3hpmddeightwofgz +nine3one7zmjfdxq +onedlpzjnxnine6nrdm +8four24sixdtgvs +8sevenmkclfxbgvzjclfvsppcnnrone +four9nbhfqvrgzcxcvmrtnp55sevenmzvllfsz3 +qjfdqhhqfm552dqsgpjxzbdpqbcqlgsd +5kgfvcpm7 +threegvqdkvht1two +h2vmd +4nzxftfld +sevenfive8vjxxgbcktb +qnnine2seveneightsqcsnx6zpxtkzxx +hsbjjhb1 +9one2vfpnhjs9ninekqjp3 +eight8ninethree +34q78ninesixnine +nine8threefoursixfiveninemvrgmnfive +2eighttfzsvsfcthreezlspnkjp94vjtgnlvrr +68pbjk2 +ctxpk65cgvdjvdhh8 +mchjm476rlppfourtwomht5 +dltwofourseven5 +2vmfdspgkt7 +28sixninefive4vmddg5 +2rtcc +cr4 +5nmhbslxxtmsevenxn +sevenbzmbtnzpgj8eight +5qn +4phjbkmsjvskt42four +six1four37twoeightnjgrsr9 +eightone4zcszcktgqqlvfspzbbgzz8 +noneightphfdl78ckfkdmlnlktcrp19 +3qfive9 +416ninesevenm8three9 +36thprseven +ninem1 +sevenbxh6fourtwosix +7threethree +kgsnqrpfourqllxjlhmphxzs5threetwokqlqtwoneqv +dlldzdvl4four7onepmpprcstx59one +threefhdhmgbs6 +ldsxvtqd2dkkn77 +six224eightone +xk7fourj6 +sixjhpf59 +1threesvrfvccqpnqzvhkq1 +44five +one61 +twoqxqlkkrfj7six51sixjfgjbfx +4bdldfqtb6 +xrftwohszhtkhq9 +threennsixfhtgpvdnnx6kxxcpx3twoone +grhbqhtl5threesevenkscph +sevenbrmttfxrlm9kdvmvjgbpz7 +26one4one29two +fone76nine +four62 +6eightftkdjhnqdsdpone8five4two +mpqltxpzqfone1ninekthxjqjf +vhzvxhtlgvvpfjsj16 +pcqq88lkdjjllthreethree +zpbzdmfnceight412cxzfxpd +two78jdxcjxrshsxpxsseven +1877 +4fivesix +seven379threegzbz +eight78jcnzbzzbdrldkf +dtlleightpqdkdmtrm25rngsjrrpnhmsnnlcc +fourthreefourfplmfqkqxztllvninenineseven2 +8threefkdfmltrbq +sevensixmntmdgcbnfsevensixtwothree8 +25twoeightjrp +sevenseven3onekrbjcdmfbsf +sz9224xmsrxgj +jp628 +ncbj7nine6sixfour54six +zlnpvd24vkstwodphpl22pkvdjxmdc +9c5two +fivetwo6531knrdgeightnine +q7onetwo +7lbztvgzdsh6sixseven +sfbbr8ltlpldgft1blxctbzmxfourmbp65 +dkmjpbbbc3nxgdpqfx +sixfour62zlljntpbnine +3fourmcb +8ndvk8vdfqjj1m +c8vthreesix3twoq +eight2rseven +1cmxmkththreeone3eight96qrxttfdzlg +2blxxsh19cklgghmnjph +qgxhcrkmthreezdbfpgfgsrdbheightfour7ninetwo +4sevenninesixf4fivekkkbnjq +sevenbzxghxrrbjpspmdhzqg7five +one1sevenkltpqgjseventhree +6fourtwopfzpng +8msfjncfjnqpds4rqbdxnine +kcpvnzv1cbtnpvone +fivenineeightmthree8 +zqkjeightkzgzbone51 +vxlglkpglqhkjjxlb4 +tzjqjzghthree6 +one1qbhdshmqdkfcn +pdrqnrxdz5jqjsnhmt4five3seven +46rvhnvdbmjrzzffivefivesqkg +oneprjnclrh9 +twoseven78j +rrllqrpdhcznns9seven +pjrqzbd7 +978seven8kmlznczcrbplnjvtwobgbrtq +sjdxrt12qzvnpxqgrfourkfrhlzmsqplxpcqq +1jfmntl1twolvtwonef +hd53eightsixgtqdkbjfrvqv9lxgg +1rtbzrnndthree7fivethljmpzmscgjgpzpkffmrfx +6rlllxpnp1vgrdxvfqzeight298 +99threebrlkkzsffjlltqtwoeight1two +7sevenjrjpkphkfhfour +four5977qzktpnsixncfxzdghj3 +lkptwo856 +7cktjpjbfnplm7pdxrnfknfmfiveglsjr +1eight5eightmjhqfn +zskkbkn37k7one +6fivesevencpmlpngjfvfivesnhst3 +five8cqdzm9 +pfdhzfive9 +5seven6ncmtzrhdthrftmbnkzmfour +89tkhtdlkg8rjjpfj +9pghbhntzntninefour +eight3ninesjc8 +79one1 +45lone2 +fblrgtgdvfour5 +8nine139tsgbqmoneonefgqtbv +9eightvdpstdhtqfdzhmpspf +zgjfpjxdqbzvxj9fiveseven6vfntgjkgr5 +threedscrseven911dvgcftsdklfthree +threetbtlnb3mzlmlgspdmqxt8hsqsckxfkcsix +3dtctvmnh +foursix6 +8eight5jtfj +1lcvtwofive1qxdqmslfbndd +fourthreersevenseven581 +rgpthree747hgzoneightzs +fxqdbvtjngr3rpxrzfdgrm +tsmcsl2one9ninesslscfivenine +1kg5three94 +8pqdqqddhn81hjjdjfsk +groneight1one572seven5three +krgdh94 +3zxgsbgn4 +7vsckhgjvxd3fourgjg +6lhpsnmtz8lxcgqzjxvjxpbbsmn6rddljdthreecd +386fivensrl +one5four487eightfbsblbkthree +bhkvlqhsqjpseven88five19 +92two6cpz6 +7nvkv8719rznhq55 +12cmfkmvknqqsnjsqv +fivehgdqqgrcx2xflqmmjnq +vmpfivexpfjscsrjh6fivetsqngtzllteight +nine1bkbrsjrxkgtm33 +7one2 +31jdx5seven45 +one721 +3three3xmsxzrfl +6bjz7shj45two +zseven6nnftpnxldgtwo1two1 +266hkvrtbflcthreetlbrgdnhkrseven83 +88vmsrsvxvpcvjmfrpssqvcjqdcmxone +773sbl4 +86ninelxr +jjbgmdmrfive651fourone +seven5trjbkhsdxksevenfive1five5 +1seven2drllvgljjt4 +onefkltbmnnpfnqsjtmmkb1 +threeeightthreeonerqzx7 +hrqfpsdxf4 +82five3rptwothree +57fourthree25jlxqrbdfour +3mq13zjzzgztqv +31mdzczk44 +hfdmvpxr925s +fourfourseventwotwo4twofourddc +1six5foursixcqtnvmh +two5sevenlmz9 +1ninexrhcxblntnh881four +35dlmjrzrzqjgf9 +4six1vx +fiveseveneightsixtwoone4 +3bxvkznxsqmfxbqsix +mxkj2six +sevendggctftjtwoonerjcvonesxn4 +3xslllfzsgk2 +1nine3seven +1bbeightfour8gsvtv7xzqqgsqt +sevensixfourhgmxsxndvk3 +6hdkhb5fxzsgfivethree +nine797msnmphf3two +snlbgb7 +753five3st15 +3foursevenkjqldcdvreightseven8hcrqmtdkkx +qdrzr5ggslzvfnfk56eightrdvzmlktj +nhlkccvhtwokprngjkonelhprvsp62 +zqmdvsxpxccgchmd1hprbqkrbn299 +oneninefive1 +7twofive4sdzj73 +stwofive53 +threejsttgvxrhqmsctksn8oneqfour +sixfqvfztln51pqlnvvlx6jkcvkmdkjxnbzfdmt +zzcrjdhbglfrgzxjkb3eightonetvlrnine +cfdz4frpcbfvsevenpvpfoursppzj +9four8nineseven5fivemgsqxj +9onemsdkpvhdbprzbx54two +bhdsevenrbnfxk6vzldmgzrqdeight +2pgbh +2qcq4eight516 +45phskdfcld9gmxbkzdsix6 +sevenmxtwo1sblmbnhxrtzck +2pfsdqtfkplkqbphrhdoneone4five +957zktcl2 +41six +five27zdfqxkkvshsfbjm1txdsf4 +sxsmmzcf3lfrmpsix61threehbdqnvsix +qppcjbnfj4twofour28fdj4 +one9kxxtd8r +fcdeightwosixvhktbjjht7five47pxdtnq +gdkfivezptfjxxqfnxqchjg3jdgvone77 +2twocbzt69rm +7kx4twonine5 +tlnkgxzcdf57nine +4tjcdv1 +5kshzgbs1one7fivenine +gxldrzgctwo2 +8twoninefqmq3dsqxv +9ninefour27threeseven2seven +15fctsthreesgdnndsssix1npln9 +2sixnsqkzt16eightnineqg +zgrskbjbfsixfour9eight58kpdzxm9 +fourthree8fivejgqvdnc +onebgjjllzp5gvcxjsxmone8ninefivejgghfpvxxf +4lxgbrqvsb +86bvrnqqrdmrxdbhtwo9zqnjkvnqkleight +oneqt88 +onethree1 +twosevenfour1six67four +29mnfpjthxdvnh +nlhnine44oneeight4six +1smpfmdsstqcn58fgb +tkpd53 +92twoninexkhcvl1 +fkccpninetnvqvdvlkphknh9 +zplfcxsqhbd7rxmvjdtrngzsdrxtwo89 +2gxxckzmgthree +fpnfttfvmnfone8 +171five +4bmtr8 +153fournineeightwodq +zkkddvk7three4sevenv5geight +512fivefqcmkm1threesixcxdd +6moneeightfpjone29ppcvf +37sixgrmmzlslbxnxmrdtczthreexcmtppqlgskrxzssjcln +dponeight7 +vxfphnfourqzcfxkbsv7rzpmfzrbkm4 +1nsf648 +214twomgvvkktbfrzone +threeqdzhfxkr1nmxxlzrpvtwo7 +8threefive +snrcxfcv4 +964rngbmt +one5kz4 +116nqmtvbcbninefourninetwonenkb +3cvvzsr +49ngfjtwo1threebcpg +pxxjsfmmpsthreeonesixfour2five2 +nvttlcr9sevenxszkjmjzfzqtzznptzqbvtsix8seven +12sixjpmvfptmjseven9sixzmmkqnrlv +hskbdlf3 +pbxthreembsnnthree7sixxfnqdcvrzj +66866eighttwofivesix +mvgjhxzbtxhpsthree9xx896 +nstdhjsp1threethree85five8 +zceightwojbhlkl4 +2bbdmjvqbmmfourqtkfgnvdq +lnvrtfplvfseven65 +ccbslkf5fiveonenine +nine7xfive +92threefour +5jssd4pbft4eight6 +stvcgplkppgrdrkjtxstch3svxzmkjf7 +hmfvpctmmg6 +192oneightggr +18dxpqfcz +xccgpvhhseven5qflqfourkhsxqdhrbscdmbj +4jdceightseven46 +ninedjtjsix7 +eighttqcmmkgvhc67 +kt82 +dfnjmgjsmggrvljm8two4 +2gfsveight +nrtwosixninefour55 +3threesix3six89 +twoseven5hzqsgdvmphnlppt1kjxcvpfsoneone +4fivethreeone18five6 +l8pone5jtfgxffgfrone7 +5zmjgtp2pfshdlonetdflhrz7 +5twonepp +eight46pmncqjdnkbz +7ngmcqsevengzeightvthllqpxbfjgkc5 +lvscttxkct7eightsdkxgffxfhhpdppbgtzbf9fiveone +352threedzpjvtq7onetwonefg +31eight +6zbhrsnzsixxmjvsnfsixnine +tbgdjscgtkn8pdtld +643nbsntbjmbninezfbnkggfivefour +vxnsvnine5seventhree2mksgsjbpkqdgbs +2xchcfiveeightrnldvblbfqnmvmn +5kbpnbtpnzbeight9 +three2eightseven +sszgqcvtmlcmd95six1jmsnfmfmlktdvtskrp +xlmthreemdrvgzfnseven3 +ntwoncnpdjg8 +sevenfivethree968 +four6twooneonejmxgtzz6three +893jfmmnk6lmhqmtxgkmtxq8 +pvconeight3dmprrnmj2cpqmgmvkqtqcn71 +five688seven +67six +54xcthreenlhthreeone7 +6bkt4hlhg7 +kvxpgcnqkhkhxthreerxkxt9cgcnvcvkxdddsdfjrqmn +4sixseventstk3 +qmoneightnine583crcfeight4eight +7sevendxpckzsm885 +seven7threesllgfvccbglbscdg +ninefbnnpvxcmjpjrts3eightzsqmxxkkgg6 +nxhmxngoneqqqxlbqfcr5pkpthcdxtx +threeseven5twocdzkpp +35sixgtqzsnjh6three +sixrbrdblgj2prpsgnl9686 +2seven2 +cdh3 +sixtsfive8pdfivetwonegg +ccsbzxsevenoneeight76 +jbfkngpjlvbtwofiveone1pdphmps +beightdcrtnchtnine6fourthree +sixsxzonenvvkljfthreezhp37 +seventwovd17 +hmfs69one2xeightfive +3sbhjfkjtnlrzqrcrbkbcxzcmsm69nine +njdkcdprjgpn9fs +bg56ts +one542onetwo +ninernsbhqzqc6one4sixgsdcfsix +2onethree24onetwo +8sixmclpsdvvgs6eight7lnzhsgzjxdsn +one5onefour +c1fournine +nbqbgxdtwo8fourxrgszvbxqtwo2 +9nineffsevennine3seven3fnvsxmvrk +tsp5 +oneseven9threesixgjnkv +fourtwo4two3hfnpzhvcx5 +15eightsthhfgsjtqcbxvxqj +jdvssqjd9scqnlsfive2two +three9sevenzdgpjqkzh7four +8th632onezhfcv8 +7sixlcxnhdmphbbbpsxrb1oneprx +four4eightnine +gxbsix7pqkseven +4teightx3five6eight +sevenzrzm72mrgcxld +7foureightthreesixqcddc7smksqzxhqs +hpcpqbhsfivesixninembvbpqphhmrtthree9 +ninexzgctccxbgjxvtngxfvkthree8 +fdmvqcktrjh8fiveglzhchx55khhntcbndddtjccsx +8fivenine +mxsbjjcbpceight18 +vjvddlttpsgbvf99 +5five3 +jrbxmzk46threemmsnhflsqfsfkf2 +gzbpgvmrqninethreedhldl1slvnrhr +nineptdnkjgtsx9 +3bmjnr3eight3 +8ztrxrxrkc2bseven3five2 +six8one5eightrhmmxmhfour +9fourkdcff9xtnhcrjconevvhplone +five94vkxzcqone8zxn +7threeseventwoqzcnrslbp +gtcbsmt52 +8nvdtsc8pxqttwoone2 +prlgthreesix1sspdmqsg +vmppqvn1nfpmmzrfzfbfcvzpjjeight +27sixhpg1fivefxfjxtpggzlqdgnv +7sfjbc5qtqgjvf +7twotwovpnine +cmjkmgszxcc37hfjnpqpbjqseven4 +stt6ninermjlgqnjhghsevenqgg2 +4onejfppfcnkrceight +five6kmzzltwo +524clmmrmntxrninetwoztseven +4ll +fnppsrt9 +seven1sddcbgrcl +72ninejksevenseven6fournine +threesixpjnheight5rsfkhqchmvqrjck +eight45mnhmkqfourhmxcpvjgnpg +3pxrhxkcdonemrcvhv +one97dszxfbmx2 +7pdsrzllzfour1twothreeglkpnckq96 +seventwo18czcxpjmtms4six1 +bfeight3zjdp1 +ndrvltwotbcvzffzml9 +nhfq4two +8mck8oneonesevenone +zdvkq54 +mxfvps1fiveonejvjsnsix4 +skqrqdrphp89rnflzcpnrd +eight382km5 +fourfive87785 +fournbg5sixnine +8fivebzknsixdqtcgbxmfhonerqzlnqs +24six3nbjrjfhnbz8seven +sr9ninetwoztcmhhdone +nine6nineblrlmsevencrchhjvlrsevenfive +1frvmqxkfphpqmvbftffxx5seventqsvninefour +8fivesixeightnqqdxgjprjqvb6 +xkqtnxx5mmdqdcps +96dpbz25sixffzxftthree +88sixvxdhqllvsf146three +51eightnczdonebgfrqjp +eightthreekgdgjlgtkfour242pjjsllpq +ninekxtfournzgqf3djxzgxsixjv4 +84msnmkzxtszrkoneeightsix1gzp +two49sixtwo7cldmnrqrtwo +88seveneightgtqmdtjss +threebzqjcthree1ngmsnine6one +rtvzqfour5oneightkm +tfjgntbmhpdvkb6 +fiveeightsix3one +tjgkznfourzmbzcsfjvlqhchq1ggtqtftwo1 +3nmzhvrmpfive +2threeonedhpldxrclssrmvhgczkztwothreeeight +lldsseven25 +grv2ninezhpsfoureight7 +five3tdkmkshsqfour +two6tfxtmzxffive7flkpkxvssltftxqhvqr +2mnlpmb4fourpjrvpddtl5fourseven +xjrvkqjmsdcpnbzf25fbbbxone +lrvdxjv2eightvhgzp4ngctthreejrclhcvjvqjzqg +1mhxb61onekpzfjzm2nine +bkjoneight88fiveeightthree +eightsix1tmg4fiveshvjxxpvqhnhc4 +9rhbrqnghqzlsfmgfxdvfive98 +9six2threerc9sixfive +19two33kdqdtqspcqhbcbf +qdvzs7t +3fbzdmtpqktbqhgkone4 +nine4threelzxvqztwo9threerpfbhrqm +858 +1csgrrbrmdseven97vqzlngxksvltzvtlv +dql7gfvx37six +onekkpxclxgff7vdz +71three7eightqtxvjjdsjp +znnzvrttr8927 +1rmpcjj +tbeightgkjhr684 +2vzkdvtrrvninetwo4ctv3hmdqjbone +5v998six2vqkb +2four7four +7vxlfive3dccj +91five6ckcshgrxkrgztmv +886v22 +3vqjkkhdbjccffourone +lb4nine8seven6five +658twokxmjfbrj +2onevtdmdnvkqpctx15seven4 +vcbheighttwopmkzsftone7bsfds7 +zcgfive2one8lfbmqg9 +ninesevensevenrqbtzzh96 +1threehsqptqjhkkndxpd44gzbdlmcxq +sevenvxdprjvkh92xzonecmkljhbcnzzfkgjpz +five8eight8zrrkrvbjzcqbtwoeightwogvd +2mdnmbdvzxfldn1eight +tmbmzsbljreight515 +rqbtxhtwoeight71seventhree +gszsxrb7qvmkb7478 +ceightwo9cj5seven +89eight9two +5sixjpcxjrrnjdthree +two1r38onesix +6eight9l6sevenzjcht +fivecqkzbllhshphlseven4ftfivevl3 +69kbqvdronehhczgmvh23 +sfour1lgv +4kvpgtmsix +4vtdk3 +7vfsvrlnlpqmvmhfnp85sevenqlztpt +74cfpxpxrzfour3fivenine +sixsixone8eightxl +gjneightwofive3 +6twoned +jct8343 +kcbqqpv4gqqhvmtcpvhpcngonetwo +sixtwooneonefivef9lkgfr4 +twotwosixtwo3mltrqnj1 +3onezgftz +14ngxgtbfivefour97eight +2bhgf268fivefiveone +znoneight82lbghbsdktoneoneeight +53dqlrxmb842 +1mj1ninefivesszgqp4qk +7eight2qslhpns +gpqcpfgfpbnjpdf2 +threettgjpbspfive948zksmone +tlgkjbrkzn577fourvzrrndxdst174 +szsix9hqhtwo +4fivethreermvhkpnrs1zqpsh4eight +one1gtnpmsevenone +one65tvrldjxngeightxndfptwo +58xlbvgg7 +bhoneightsevenseventwo9threecmlkhdj5nine +fourfour4 +68mvkpvpfmkg4qshqmccprone4 +5foursixmf8fourfour +lfflvxbfivepmlfvfxeightninefouronebn5 +eightjvmbbmpfxs9pxgk98twofive8 +msnrmphszone2vpjscthree +fivesevenonetwovbkddshc9 +279two1onefrh3five +sevengxfive3six3 +16pmtwo7six +qdkrjhjcjl17sbfn +321one88onejvjtfour +4csnrskq +sevenone39five +23vnmrdxh7threefour +77srhjdccjnineseven4gll +vrltwonevxqdrgmpm519fiveseven3 +8zkqjrtrfbgthree +6dmrhjgxeightseven +seven6sevenhh +nine64slonetwotsxqbptkrseven6 +3sfpsix +sevencmmnnzltcpvptnineqmklpttgvcntqzrpxct11 +3vbxntfnsfivebjkpdfourseven9 +9fivefourhghdlxvgonelcrfcqgpq49rcchgq +vjfsgrqhmxjp62 +gqdbm4 +4ninebvvmfdsix +two72fivethreethree7 +194fivefkdk1 +gznjfrsevencvbgqptndceight15lghxgvslpsix +two1nljqmcptdxjdkvb7 +9seven21sixnine +vsxgdsgxsdlq23fourvhfbbtjsfhfive9hkbbqzeightwotps +3eight417bkbmvgeight +mq25 +8fhvm9twothreeeightsixfiveblqr +ddhnrb9sixh1 +nineninedrnchvbcf3cpl7 +434 +rttj6 +dcvgdcdtwo19four +8sixsxshbhmnz7three33six +xrvj7eight421sb +7six8npgxsix4four +2three9 +lfqgpkbmc69eight +6211gkfbvllqtwofourfive +onexfcmsnine53 +xml4vkfgtbqbckknbjhxcgdgqdtv +3bzknzmshp4 +five342vdtmgseven61 +2kfcmblfxb2four +sixeight5threethreenndhpvhrshgfsfourpkbghd +rmz4seven3psixninesevenone +5289 +vrxdlcf937 +2zpclqftm8 +fivefivefourfour56two +seven7eight1vtwo3cjhone +8threethree7six75 +ldkjshplmb8threefiven65slmqlrzgb +2nblpgthqfeightp +mone93 +fourfive43four +1gghztjzh +seventwo18fourfkhjmzpeight +gbonecfgmrrsrcfiveblxhkcfzcbbfpnn76 +92ninefourseven +2kl +9sevensixsixpsqzzndbdf8twosevengjddm +three25frjhjfour23mhvzgcxgddfive +blhbrztvhlhglcrsbfour7five3fdxhdxpvz +qvgkfmtxhd9 +seven4mqt +6fzcfcngzfivesix43 +mjtwoneghtth569sckx53 +seven75gkvvrp +five1onethreeeight4522 +vjkeightwofive1vspseven +14ljczbshdpeightseven +3mpk7fourgrqsqnrj1 +rnlvpksckvbmzfqhvpxxmm6djmtwofourmjfnvh6 +1six7tghttbfsevenv6four +1nineeight5 +twogxd2three +tvrnxjhg8413 +7zpth44mfpcdcsixcppfxsthreeqnzgpp +67seveneightnine +bdkddcsrv3nine7 +xlftwonetwo4rkt +khqtwo2tglvmvmfdhthree12three +twosevennsflmtwo938bsf +8zrgsnr +sixhdnslspbrcsdvxnnk7kjlzxrrlk7bbrjxbxlq +sixseven4572 +rnvkjlz51drqdddlg7clhndmlxnf +kvflkmsseven4xhgpdbfour55 +74sixdcqzj +seventhree35fivetone +72sixonefiveeight6six +ghrzthqfhsp6five +5seven76thprmblnxqbgdcds +925 +one11 +ninetwonine7ninetwonend +vntwonefive2 +h2eightninetnjhvfive +2eightvkrkdjbkxbpsznzd +4psixfseven723 +vctwonepthree49 +xmqvn1jpbjx1sixxznflzk66 +trkkpm881zqkdfvcnhsevenzhnseven +fourtwo5clj2 +2xzrclndckseven24f4 +eight62 +twoshpjzqcf7 +twohbkkrzvpxeighttczsls4six5nineeight +twoeight122gfhfpzhktffour +3htbjtzg8tsztldj +sixtkbcccqqvmzfprjngxnbrxfk9t +267seven +qfqbpzjfour1djfd5zxncnfnfqqpc +qqb5threevtpktwosjjpzxnntwo +fiveseven5rtcnine +xrrcbzrtjgsqkjlnhxt5fivetwoeight +sixgddsix7 +zdsnznxmrbljz7lvdvx74 +qbfvpnxsix3four1lfone +9one9pjtnncsqzhcszp5 diff --git a/2023/01/puzzle-1.an b/2023/01/puzzle-1.an new file mode 100755 index 0000000..d09f845 --- /dev/null +++ b/2023/01/puzzle-1.an @@ -0,0 +1,6 @@ +#!/usr/local/bin/andy + +tr -d a-z <input +| sed -E 's/(.).*(.)/\1\2/; s/^.$/&&/' +| paste -sd+ +| bc diff --git a/2023/01/puzzle-2.an b/2023/01/puzzle-2.an new file mode 100755 index 0000000..81638af --- /dev/null +++ b/2023/01/puzzle-2.an @@ -0,0 +1,17 @@ +#!/usr/local/bin/andy + +sed -E ' + s/one/&1&/g + s/two/&2&/g + s/three/&3&/g + s/four/&4&/g + s/five/&5&/g + s/six/&6&/g + s/seven/&7&/g + s/eight/&8&/g + s/nine/&9&/g +' input +| tr -d a-z +| sed -E 's/(.).*(.)/\1\2/; s/^.$/&&/' +| paste -sd+ +| bc |