From 60932a5324f3c5ff82086ece858ff47b0b321dd1 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Tue, 3 Dec 2024 21:12:34 -0500 Subject: [PATCH] Day3 part1 --- 2024/full/day03.txt | 6 ++++++ 2024/python/day03.py | 37 +++++++++++++++++++++++++++++++++++++ 2024/samples/day03.txt | 1 + 3 files changed, 44 insertions(+) create mode 100644 2024/full/day03.txt create mode 100644 2024/python/day03.py create mode 100644 2024/samples/day03.txt diff --git a/2024/full/day03.txt b/2024/full/day03.txt new file mode 100644 index 0000000..29541e3 --- /dev/null +++ b/2024/full/day03.txt @@ -0,0 +1,6 @@ +' mul(382,128)select(){*who(710,947)mul(117,325)?$#from()/select()mul(829,251)}@mul(17,183)(:*when()}?+,what()mul(911,142)[:>)who(824,820)/mul(199,484) when()mul(325,240))select()$~?'from(387,163)>what()@mul(920,723)where()}(#what()'where()mul(360,222),when()@&<^mul(268,245){{)%:from()<#mul(936,776)$select()!mul(474,825)how()}~mul(484,39)!?:@[*mul(306,422)$when()when()/@$$!mul(944,563)'!%+mul(974,802)what(291,78)*mul(394,250)why()<;mul(271,377)how()%**@who()*from()mul(569,753))who()*^mul(83,470)#-{from()when()-;mul(678,845)where()><;]$do()>what()(#)how() mul(958,48)select()from()<%mul(965,566)!};*when()?)%do()}mul(465,920)>$%$when()mul(905,944)#$+~>mul(738,782)how()]&'{~from()-@-mul(671,73)#@'+when()(*mul(981,305)(],%~why()mul(943,403);*(& from()mul(773,597)from()?}who()mul(177,608); when(){'@how()how()$:mul(615,69)~>: ),(mul(273,327)&from()(!:mul(588,34)&);,~}&]where()how()mul(476,402)when(886,135)'what(435,192)/]]mul(70,477)how()[}*^mul(826,769)mul(630,778)]when(201,168)!mul(757,817)//$select()what()mul(704,71)why(274,220)(%:}}mul(11,257)mul(755,926)/mul(822,333)/;:;*(;!how()%mul(944,27)[,don't()where()mul(682,325)@ %,!*why()%mul(159,46)mul(999,996)+mul(181,447)?{(mul(79,247)$&mul(646,108)<()when()mul(446,87)@from(){%&do()@}]']select()mul(769,704) ;from()}#what()]mul[:mul(342,860)where()mul(297,907)mul(785,738))@{who()mul(22,569)[mul(712,864){how()!{/+])do()how()how()!how()) !how()mul(910,77)select()mul(148,162)'&mul(851,438)?]:<'mul(318,433)who()^who(911,849)who()@&mul(334,691)&(*~'{mul(16,725){>[;(mul(302,212)-% }*);+$mul(563,825)[,select()*?&;&mul(67-~, }from()who(538,48)mul(40,124)~who()from()select()*%-mul(899,517))~} /mul(343,252)when()/#select(),/mul(72,213)what()when()how()>mul(935,677)^'how()%'#{(how()mul(418,773) ;^#mul(299,393)mul(235,99))^mul(755,736)$@%why(932,369)%why(),>where()+mul(959,630)?$*where()from() /from(116,616)'who(432,265)why()mul(619,939)*/+#)}>when()mul(237,787)%who()mul(748,973)'from()mul(464,286)how()%what(561,705)^'who(384,159)select()^who()mul(61,599)who()%;-)(mul(732-&*,$>]+'who(){mul(545,911)~),mul(145,677)when(930,741);]&mul(71,580)where()-why()select(480,732)~?}mul(989,226)&?}mul(649,981)why()(who()how()}what()mul(384,957)where()^]?how()why()&*{mul(874,34)(,mul(727,198how()mul(597,301)<%#[what()**mul(874,920) +##who();}mul(720,444)!, ><(;:don't()/why(723,831)[!}mul(369,122)mul(323,653)mul(399}-[where()where()%!mul(22,35)%{^mul(361,680)< '?'when()mul(957,696)';:{what()where(),mul(486,390)mul(904,888)@^$why(); $,>mul(121,356)>mul(286,496)select()mul(795,126)$don't()($:::who(); mul(274,833)'[*{-$;#how()mul(751,302)@&[mul(706,87)^*[/mul%%]$where()when()mul(783,984)#,&+mul(168,887)(mul(342,16)-mul(349,74)[how()+'?~>mul(201,421)([where()!(why()mul(225,997)+(when()where()?mul(596,977)mul(62,3))&?mul(71,292):@mul(174,534)<:,[mul(632,674)%~>how()select()<[;!mul(171,886))@#,>mul(377,649){%]-how()>mul(987,683*/*$mul(501,233)<]why()mul(950,491)mul#how()(~}mul(802,155))#how(787,150)where()*select();'mul(656,363)>/why(671,607)'#/when()mul(290,337)from()]mul(51,638)$- ~;@&from()}select()mul(87,608)mul(116,583)?)$'{,$#mul(934,503)who()#$how()~/--from()mul(394,714)]~who()<<${}mul(458,43)&mul(639select();{&from()({;$&>mul(61,244)why()@mul(179,386)<+]don't()'#mul(310,95)<(do()mul(199,244),)>@who()*~(do()&[&mul(715,542)mul(243,209)]&$~?how()how()what()from()&mul(235,191)$![(mul(684;)?[<%[how()(@&mul(204,446):$<+$;!mul(739,161)[select(162,352)?,(!>mul(606,959)@who():%*why()<@mul(941,267)mul(109,191^+]*-mul(942,63)why()-how(){%,do()-mul(843,484)where()why()what()from()#*%how()[mul(238,969)-+* where(308,88)&mul(454,343)$mul(993,84)why()!,<*when()];mul(184,126)how()%#^select()who()mul(890,36)mul(495,836)mul(486,448)mul(726,802)mul(713,282)mul(69,470?'),from()mul(861,820)]mul(369,778)-who()]how());where()mul(645,582)from()@!mul(646,390)what(143,98)mul(465~do()@+from():$}/mul(783,801){select()?%select()what()?+mul(393,573)/ mul(920,302)~?mul(679,329)where()[}]+;mul(833,762)mul(585,568)where()@}{^#[%when() +who()mul(746,929)&,mul(224,355from()where()::*$mul(954,543)%what(),mul(607,408)?<'mul(465,49)(how()'-why()who()mul(935,437))who()where():/>#where(131,595)why();don't()where()^select()from()who()-who()when()mul(745,270$mul(509,38)< why()select()who(){select()where()mul(980,337) [/~+who()do();$ !:*{@>(mul(536,465)('$why()/>what()';mul(534,315)(from()[~]from()from()-)+do()$when()%who()mul(644,668)$;from()/what()(@&mul(977,702*{~;what()*where()mul(324,603)do()!}]when()who()> mul(647why()what()[+~@@;+ mul(186,252)~]%[%+ &:mul(405,534) +++mul(579,526/-&/mul(996,519)where()$(,(@% (~mul(653%how()@][don't()(+where()^?>}mul(426,711)##;mul(89,834),when()+-%)>@how(551,945)+mul(33'/who():who()mul(330,473)(why()when()mul(729,170)<{&(mul(450,165)/where()}where()mul(416,829)-where()mul(681,77)$when(); {how()(},mul(566,968)^?^[where())#]$$mul(320,701)select(263,668)!mul(84,690)*who()*!who()),from(152,890)mul(523,218)/)mul(975,325)() what(187,672)^how()'mul(877,765#mul(555,711);<*,don't()how()select()how()}mul(963,600)+$where()mul(754,527)mul(589,630)select()how()when()!mul(454,523):(;,+mul(117,299) ]/^]mul(682,981)mul(918,918)?mul(529,521)';}mul(29,4)@>mul(33,461))>$;$%mul(629,832]&{[when()mul(269,237)?^@~~/'who()mul(865,880)?~don't()what()how()#!%mul(259,423)!*?)/(who()mul(438,59)}<{*;}where()mul(623,454)mul(54,758)!'do()mul(156,345)#(->mul(296,979)%]select()-(when()why()when()$mul(207,298)mul(232,19+[mul(240,552)-mul(434,728)#-)'/why()&+;'mul(314,103)([how()<~why()select()^,mul(278,666)@?why()]how()select()mul(960 ^mul(770,509)when()what(632,239)'select()mul(460,916)) don't();>> select()]{:>mul(796,995);)<]%[:*don't()*~ (select() )select() $mul(65,3),/?%$mul(862,120)!mul(243,135)&?mulwhere();#from()-@!select()]do()mul(117,795)-% [(^mul(427,900)when()why()]why()how()^-'mul(277,54)}when()}$from()<,@mul(398,993)]/-mul(314,397),how()mul(452,25)&#&:[$$(mul(71,963):[mul(53,54)what())who():'{:mul(169,399;[ #}{;( mul(708,894),}from()where()why()[>&~mul(320,139)*when()when()&*mul(69,189)don't()how()!%%;[{mul(276;when()mul(906,936)%;+where(){,?select(),[%?mul(489,557)^&where();#when();?[what()mul(93,641)where()why()mul(184,380)[where(){?from()&mul(963,754),how()[#$@}^from()mul(82,608)+}where(659,504):select()<+where()mul(631,979)>%/%)mul(641,426)from()-#from(76,912)from()mul(640,544)how()^when()mul(13,213),*!mul(341,702)#!/usr/bin/perl$where()~[;;-mul(234,773)%^<-when()@mul(602,524) +why()where()why();?mul(169,662)(;?*select()>~(mul(335,517)select()!$!mul(989,445)why()when()who(),mul(722,70)/when()/>mul(488,411)~mul(91,163)how()]how() [mul(415,153)(from()!>?>mul(910,831)when()>#>@where()do()mul(854,168)+!#how()where()[mul(544,146)>[mul(791,713)why()what()'$(mul(722,357) select()>-'}##~)mul(571,996)%where(648,468)-mul(674,399)-how()when()what(),where()}&:mul(364,273)*+-?from()]/mul(842,237)>)#why()^?}mul(916,535)-(/[mul(195,161)&'what()!)how()>-from())}mul(450,574)mul(811,64)%:,#~!where()what()+>mul(626,402)&[why()select(),don't()!$mul(991,61)~#)mul(184}mul(573,326)(})}-}{~]mul(457,349$(**:~select()mul(214,536)when(109,839)^)-what()from()mul(951why()mul(250,791)select()/^~ )]do()mul(402,879) ;when(977,795)mul(411,599)}[>{when()why();*don't()'when()*?mul(208,89)?/; @ how(694,33)do()+~mul(201,648)[-#//}mul(309,958)}why()@-mul(204,611)mul(461,547)?;~mul(795,956)@]]from()[mul(845,908)%what()#!*)@&why()]do()who()from(),-(-what()mul(350,941)who(),$/$-}'mul(310,446)from() mul(952,727);^(mul(471,971)@!do()@who()mul(634[%}select()$!when(267,237)];[mul(85,927)/when()-how()}!#mul(536,740)]:;who(967,614)how()select()$$mul(487,376)']why()+$select()+mul(184,719)why()!why()mul(293,122)^!^]$mul(544,91)from() >mul(983,667)when()?mul(708,478)<}%why()when()mul(48,916)what()mul(469,29)when() mul(710,466)-*) mul(855,660)!^@mul(558,202)]'#':where(271,674) {&mul(851,103)?( #what() }+select()~mul(700,989) @@mul(311,964)']]@,where(6,777)@;%mul(29,72);select()[[who()where()~mul(829,823))*>']mul(197,418)+!;?@::)[mul(628,50)^&?!mul(176,413)mulwho(185,962)+select()how()mul(804,92)/from();mul(284,550)[where()%&select()&/mul(342,336){ mul(382,518)$-; {#]#]mul(395,313))do()<>mul(652,359)%don't()mul(343,652)?'](+where()[*mul(677,743) >when()}how()who()mul(71,412)[,@{ mul(345,160)>);(:&~who(565,887)mul(958,675)mul(752,30)-*/?~how()(,mul(246select()from()do(){,(from()'-[@]mul(567,702):select()#how(921,881)mul(725,160) 'mul(327,488)?<>how()%/;@mul(836,535) +)mul(135,48)when()+@~mul(646,10)!how()where(944,161)&mul(247,681)^from(641,956)(#&where()>*where() mul(712,270)!why()}who()>*>select()+&mul(543,760)]why()^-~*:how(82,75),mul(991,653)what()#~{;;?@how()mul(445,300) (when(253,142)$<*]where()mul(782,558)mul(928;%>*,who(775,419) how()+'/mul(981,18)$from()why()@ mul(185,23)+~select()why(346,793)>!)^from()mul(607,452)what()$^+select(),* {[mul(358,551)?(what()[do()where():what()*>mul(679,221)how()^*>/::$;mul(903,901)~select()']}$where()when(940,507)mul(396,234)select()what()@when()<%/mul(569,364)^mul(29,750)~-@*'mul(188,408)why(){where(){:%from(851,981)/*mul(535,688)$*(when(382,340)]~do()>{&{@&who()mul(126,680);-^')+mul(268,566)({ select()[select()what()who()what()select()mul(656,119)$mul(221,435)>how()[how()**,mul(17,637):from()from()+where()mul(834,156)}]from()[[select()how()mul(373,272)]from()@where()~(mul(10,456)/&how()from()mul(376,562)how(656,371)when()/+[how()@ do() &~{when()[mul:mul(851,474)+}do()@'<>!mul(71,636)+$how()#mul~)why()${mul(423,604)$where()##select()@%!mul(174,630) (where()(*mul(891,319)mul(712,140)((what(802,355)who()~;(]why()mul(892,613)where()mul(867,72)what()who() ?;-{,who()}mul(6,210#mul(435,420)don't()^:what()?who()when(909,225)[@who()mul(613,816)~mul(567,155)+[;select()~])!@{mul(584,474)@]/mul(855,798){#mul(833,981)@,(%&-,)?(mul(374^mulselect()when()~/]from();?%{mul(459,389)why()~>from()'select():^#why()mul)who()$+where(168,518)--mul(937,21) mul(942,10)>!!mul(437,636)mul(509,95)mul(522,855)mul(109,507)why()%!({mul(442,773)where()where(900,115) #{ ^ when()mul(350,708:don't(),#'~,[mul(119,683)]#]&;$how()!mul(634,722)> +(?%mul(410,254)~*-^who()}*:^mul(219,824)^[@[~mul(475,606):mul(12,946)why(930,803)} mul(558,666)}?when()mul(992,775)/;<:what()$?what()mul(176,378)-{)#how()@]!{]mul(159,502)$why()how()},mul[}*&$)mul(100,648)'; mul(477,121) ],/do()mul(340,143)$(,}]{mul(477,481)/where()!where(874,723)!:[;?mul(694,893)/who(694,677)@who()?~mul(944,553)&&select();from(907,219)]mul(134,98)mul(475,226)%&~?>when()#where()(mul>/ mul(430,522)(mul(4,686)!&^(^why(){-what()&mul(956,959)^-[why())?mul(171,380)~) ?[mul(628,469))?*&}~mul(498,282)mul(104,486);((when()what()]]!select()&mul(264,534;#mul(208,64)how()mul(534,749)~,;why()~select()!do()mul(279,93)]what()mul(182,162)mul(985,595)[[}what()!,&@/+mul(312,743)?@)<#what(205,819)/%:mul(828,4)$)*&$/mul(925,463)mul(101,11)mul}{>]-[don't()^?))+($ mul(797,638)select()'select() $when()~mul(312,896)^>mul(767#mul(737,79)who(937,752)?<(!mul(775,969))what()mul(995,800)!,?/select()(!^mul(825,47) (?->]%!#mul(345,412)+mulwhy()(&why()!when(417,78)}who()from()mul(477,312)(@}!select();<*mul(759,363) +*;++){#what()^mul(591,595)what()when();(%$mul(35,204)where()) $mul(623,430)$!what())?mul(986,195)from()mul(333,771)where():^mul(366,275)who()why()' 'why()/{mul(886,569){what()what(459,994)$/{&mul(812,296)when()from()(:']/mul(938,122~what();?!where()~when()where()how(485,785)'mul(662,423)!+]/mul(931,464){,(^]mul?, mul(80,65)-<~^how())mul(537,517))who()?;}{mul(309,415))<%&;do()why();select()<%^why()mulwhat()$mul(97,261)]mul(976,251)/;what()@:/mul(236,347)&{}how()mul(115,717)^select():where()where()#$+%+mul(995,8)mul(281,511) >where()@mul(218,447);[[+don't()mul(856,826),-%mul(791,178)%*who();;@>&mul(355,579){>;from()>-]don't()!from()where(){'@*>&)mul(426,689)}mul(19,952),[$[@]why();from(807,651)?don't(),:;>mul(331,69):&how(888,904)mul(181,101){ :(*}: mul(628,267)>~@mul(521,898)&where()how()(~ )what()what()-mul(476,329)<)),mul(362,495)$* );;mul(245,39)why()select()/how()-,(}@mul(185,370)when())&^*}mul(401,151)?+what()select();when()why()>: ^}]mul(119,516):(mul(738,634)mul(830,590)where()?do()^&@}(&/>why()*mul(982,557)?/when()~?~<>mul(522,576)select()where()<&{mul(828,380)how()what()where(795,225)'mul(629,665)&mul(816,674)};#*[# {when()mul(833,343)how()how()why()what()mul(902,29) select())%<>(,!mul(698,182)^what()-,,}where()don't()from()from()/