diff --git a/2023/Day08/README.md b/2023/Day08/README.md
new file mode 100644
index 000000000..3199719c3
--- /dev/null
+++ b/2023/Day08/README.md
@@ -0,0 +1,80 @@
+original source: [https://adventofcode.com/2023/day/8](https://adventofcode.com/2023/day/8)
+## --- Day 8: Haunted Wasteland ---
+You're still riding a camel across Desert Island when you spot a sandstorm quickly approaching. When you turn to warn the Elf, she disappears before your eyes! To be fair, she had just finished warning you about ghosts a few minutes ago.
+
+One of the camel's pouches is labeled "maps" - sure enough, it's full of documents (your puzzle input) about how to navigate the desert. At least, you're pretty sure that's what they are; one of the documents contains a list of left/right instructions, and the rest of the documents seem to describe some kind of network of labeled nodes.
+
+It seems like you're meant to use the left/right instructions to navigate the network. Perhaps if you have the camel follow the same instructions, you can escape the haunted wasteland!
+
+After examining the maps for a bit, two nodes stick out: AAA
and ZZZ
. You feel like AAA
is where you are now, and you have to follow the left/right instructions until you reach ZZZ
.
+
+This format defines each node of the network individually. For example:
+
+
+RL
+
+AAA = (BBB, CCC)
+BBB = (DDD, EEE)
+CCC = (ZZZ, GGG)
+DDD = (DDD, DDD)
+EEE = (EEE, EEE)
+GGG = (GGG, GGG)
+ZZZ = (ZZZ, ZZZ)
+
+
+
+Starting with AAA
, you need to look up the next element based on the next left/right instruction in your input. In this example, start with AAA
and go right (R
) by choosing the right element of AAA
, CCC
. Then, L
means to choose the left element of CCC
, ZZZ
. By following the left/right instructions, you reach ZZZ
in 2
steps.
+
+Of course, you might not find ZZZ
right away. If you run out of left/right instructions, repeat the whole sequence of instructions as necessary: RL
really means RLRLRLRLRLRLRLRL...
and so on. For example, here is a situation that takes 6
steps to reach ZZZ
:
+
+
+LLR
+
+AAA = (BBB, BBB)
+BBB = (AAA, ZZZ)
+ZZZ = (ZZZ, ZZZ)
+
+
+
+Starting at AAA
, follow the left/right instructions. How many steps are required to reach ZZZ
?
+
+
+## --- Part Two ---
+The sandstorm is upon you and you aren't any closer to escaping the wasteland. You had the camel follow the instructions, but you've barely left your starting position. It's going to take significantly more steps to escape!
+
+What if the map isn't for people - what if the map is for ghosts? Are ghosts even bound by the laws of spacetime? Only one way to find out.
+
+After examining the maps a bit longer, your attention is drawn to a curious fact: the number of nodes with names ending in A
is equal to the number ending in Z
! If you were a ghost, you'd probably just start at every node that ends with A
and follow all of the paths at the same time until they all simultaneously end up at nodes that end with Z
.
+
+For example:
+
+
+LR
+
+11A = (11B, XXX)
+11B = (XXX, 11Z)
+11Z = (11B, XXX)
+22A = (22B, XXX)
+22B = (22C, 22C)
+22C = (22Z, 22Z)
+22Z = (22B, 22B)
+XXX = (XXX, XXX)
+
+
+
+Here, there are two starting nodes, 11A
and 22A
(because they both end with A
). As you follow each left/right instruction, use that instruction to simultaneously navigate away from both nodes you're currently on. Repeat this process until all of the nodes you're currently on end with Z
. (If only some of the nodes you're on end with Z
, they act like any other node and you continue as normal.) In this example, you would proceed as follows:
+
+
+ - Step 0: You are at 11A
and 22A
.
+ - Step 1: You choose all of the left paths, leading you to 11B
and 22B
.
+ - Step 2: You choose all of the right paths, leading you to 11Z
and 22C
.
+ - Step 3: You choose all of the left paths, leading you to 11B
and 22Z
.
+ - Step 4: You choose all of the right paths, leading you to 11Z
and 22B
.
+ - Step 5: You choose all of the left paths, leading you to 11B
and 22C
.
+ - Step 6: You choose all of the right paths, leading you to 11Z
and 22Z
.
+
+So, in this example, you end up entirely on nodes that end in Z
after 6
steps.
+
+Simultaneously start on every node that ends with A
. How many steps does it take before you're only on nodes that end with Z
?
+
+
diff --git a/2023/Day08/Solution.cs b/2023/Day08/Solution.cs
new file mode 100644
index 000000000..21311b090
--- /dev/null
+++ b/2023/Day08/Solution.cs
@@ -0,0 +1,127 @@
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Linq;
+using System.Text.RegularExpressions;
+using System.Text;
+
+namespace AdventOfCode.Y2023.Day08;
+
+[ProblemName("Haunted Wasteland")]
+class Solution : Solver
+{
+ public object PartOne(string input)
+ {
+ var lines = input.Split("\n", StringSplitOptions.RemoveEmptyEntries);
+ var directions = lines[0].ToArray();
+ var map = ParseMap(lines.Skip(1).ToList());
+
+ return CompleteCamelTravel(directions, map);
+ }
+
+ public object PartTwo(string input)
+ {
+ var lines = input.Split("\n", StringSplitOptions.RemoveEmptyEntries);
+ var directions = lines[0].ToArray();
+ var map = ParseMap(lines.Skip(1).ToList());
+
+ return CompleteGhostsTravel(directions, map);
+ }
+
+ private Dictionary ParseMap(List lines)
+ {
+ var map = new Dictionary();
+ foreach (var line in lines)
+ {
+ var parts = line.Split(new[] { " = " }, StringSplitOptions.None);
+ var key = parts[0];
+ var values = parts[1].Trim('(', ')').Split(',');
+
+ map[key] = (values[0].Trim(), values[1].Trim());
+ }
+
+ return map;
+ }
+
+ private static int CompleteCamelTravel(char[] directions, Dictionary map)
+ {
+ var currentLocation = "AAA";
+ int result = 0;
+ bool shouldContinue = true;
+
+ while (shouldContinue && currentLocation != "ZZZ")
+ {
+ foreach (var direction in directions)
+ {
+ var nextLocation = direction == 'L'
+ ? map[currentLocation].Item1
+ : map[currentLocation].Item2;
+ currentLocation = nextLocation;
+ result++;
+
+ if (currentLocation == "ZZZ")
+ {
+ shouldContinue = false;
+ break;
+ }
+ }
+ }
+
+ return result;
+ }
+
+ private static long CompleteGhostTravel(char[] directions, Dictionary map,
+ string currentLocation)
+ {
+ long result = 0;
+ bool shouldContinue = true;
+
+ while (shouldContinue && !currentLocation.EndsWith('Z'))
+ {
+ foreach (var direction in directions)
+ {
+ var nextLocation = direction == 'L'
+ ? map[currentLocation].Item1
+ : map[currentLocation].Item2;
+ currentLocation = nextLocation;
+ result++;
+
+ if (currentLocation.EndsWith('Z'))
+ {
+ shouldContinue = false;
+ break;
+ }
+ }
+ }
+
+ return result;
+ }
+
+ private static long CompleteGhostsTravel(char[] directions, Dictionary map)
+ {
+ var startingPoints = map.Where(m => m.Key.EndsWith('A')).Select(kv => kv.Key);
+ var results = new List();
+
+ foreach (var startingPoint in startingPoints)
+ {
+ results.Add(CompleteGhostTravel(directions, map, startingPoint));
+ }
+
+ return LCM(results.ToArray());
+ }
+
+ static long LCM(long[] numbers)
+ {
+ return numbers.Aggregate(lcm);
+ }
+
+ static long lcm(long a, long b)
+ {
+ return Math.Abs(a * b) / GCD(a, b);
+ }
+
+ static long GCD(long a, long b)
+ {
+ return b == 0 ? a : GCD(b, a % b);
+ }
+}
\ No newline at end of file
diff --git a/2023/Day08/input.in b/2023/Day08/input.in
new file mode 100644
index 000000000..050a8f4db
--- /dev/null
+++ b/2023/Day08/input.in
@@ -0,0 +1,704 @@
+LRRRLRRRLRRLRLRRLRLRRLRRLRLLRRRLRLRLRRRLRRRLRLRLRLLRRLLRRLRRRLLRLRRRLRLRLRRRLLRLRRLRRRLRLRRRLLRLRRLRRRLRRLRRLRLRRLRRRLRLRRRLRRLLRRLRRLRLRRRLRRLRRRLRRRLRLRRLRLRRRLRLRRLRRLRRRLRRRLRRRLLRRLRRRLRLRLRLRRRLRLRLRRLRRRLRRRLRRLRRLLRLRRLLRLRRLRRLLRLLRRRLLRRLLRRLRRLRLRLRRRLLRRLRRRR
+
+DBQ = (RTP, NBX)
+NFX = (PXX, PLG)
+VBK = (BRV, DKG)
+BRS = (HLR, VBX)
+DDK = (SPR, TCR)
+FTS = (LJB, MDJ)
+BLH = (DFM, GGG)
+PCC = (GQR, RHD)
+QKN = (VVR, GBL)
+KHN = (FNB, LLT)
+HTD = (NPJ, BTL)
+FPL = (BRX, XQD)
+RCJ = (QKN, XPD)
+XRN = (RMQ, LQB)
+HGM = (VPV, SVR)
+RFG = (TLM, KPH)
+SSG = (QGC, KJV)
+LPA = (QQN, GNF)
+SVN = (VLM, BDX)
+VPF = (TTR, RNQ)
+VNK = (DSX, MCZ)
+KMS = (XNN, MTB)
+RLS = (NHX, CRT)
+VRS = (VBX, HLR)
+TVK = (MKG, NKB)
+CKH = (DFF, XPV)
+KBS = (LJC, PRS)
+JMT = (FPT, DLX)
+LRV = (QCD, RLF)
+TMM = (VPF, GKD)
+HKH = (PRS, LJC)
+GSM = (SVH, KRP)
+SLG = (PTL, SNJ)
+GVS = (DSN, CKH)
+QGC = (HKS, DFP)
+RFT = (VVQ, GMF)
+FDF = (JKV, JKV)
+MRL = (PKS, TKS)
+HBN = (BDX, VLM)
+CFB = (PPV, QVS)
+TFJ = (KGN, JND)
+HLB = (PFV, JXR)
+RFJ = (SKL, QCN)
+PQH = (KGN, JND)
+HGR = (FKL, XHR)
+CTB = (HNQ, HNQ)
+XMN = (CJV, LKQ)
+JVX = (FSS, CRC)
+SFH = (MXD, RHN)
+BRK = (QPL, DJB)
+HBX = (DSN, CKH)
+RFL = (VXB, FNF)
+GXP = (LHR, SMV)
+CHK = (NLQ, VCR)
+QPG = (HHL, KHB)
+VBC = (NFV, FST)
+QJF = (JXL, JJC)
+XKQ = (PCS, BSH)
+SKS = (SNN, QSN)
+GJJ = (VVG, XPR)
+DJP = (SJM, DNR)
+DQF = (MHG, BKZ)
+MSB = (BRX, XQD)
+PQR = (TLL, RVS)
+XGB = (RMT, HGF)
+HBD = (PFD, FDN)
+NSN = (RFJ, NJT)
+SNJ = (MVG, DBQ)
+NMV = (SKG, TDJ)
+PTN = (TNR, SSG)
+SBG = (CVH, LMJ)
+RDT = (SVQ, JTT)
+MRC = (BKF, QMJ)
+JKV = (CTB, CTB)
+CTX = (QHL, BDV)
+SQM = (DNR, SJM)
+MVG = (RTP, NBX)
+KKJ = (TQP, PST)
+QKX = (BRD, SFT)
+VFV = (NTL, VMQ)
+LXK = (SSL, MFR)
+HDH = (VPS, MJH)
+RTP = (CGJ, XJC)
+BXQ = (FLN, FLN)
+GKD = (TTR, RNQ)
+GPP = (SNN, QSN)
+GDQ = (JLS, TND)
+LTF = (GXP, TVB)
+GVB = (LSV, FRL)
+JCF = (HGR, GMX)
+VCR = (JTR, MCM)
+XJC = (DGP, XML)
+XKA = (SFC, CHQ)
+LJL = (VPX, PMS)
+CPH = (PCQ, QKX)
+VPV = (TFP, NJN)
+TDJ = (PRV, DBK)
+JGQ = (TPX, NMV)
+LJS = (GDQ, QPV)
+VHN = (CBJ, PFQ)
+JHT = (XHM, NRK)
+ZZZ = (HJS, LRV)
+KJV = (HKS, DFP)
+HNT = (XXT, KJT)
+RHD = (KQH, TMD)
+JKG = (HXJ, MGF)
+SPL = (TTB, STB)
+MBD = (CQK, NHH)
+TPX = (TDJ, SKG)
+HRC = (LBB, JLR)
+QHN = (JHT, THC)
+SPM = (DDG, MBK)
+MFG = (JBD, GSM)
+MHR = (PTN, HVB)
+RLF = (GMG, TDQ)
+XBQ = (KKN, QTN)
+GLB = (DHS, SXC)
+PRV = (PGC, NSK)
+SJD = (BXQ, GHF)
+THC = (XHM, NRK)
+GBL = (GGR, HTK)
+MDK = (JXX, DBD)
+NJT = (QCN, SKL)
+LLG = (KBL, LXK)
+RVS = (DDB, QRV)
+LHR = (LPL, TGJ)
+TBD = (NNB, CQH)
+DSN = (DFF, XPV)
+QQN = (HRV, PTT)
+XPP = (GSJ, RDT)
+CBJ = (JQL, RBX)
+RBX = (CNV, NKQ)
+DDG = (NBS, KTV)
+XNN = (TMC, GCG)
+DSX = (CGR, SGM)
+DFB = (RCJ, KJK)
+XTG = (RFG, XSD)
+PKQ = (DBD, JXX)
+XPD = (GBL, VVR)
+FFC = (JLR, LBB)
+GMG = (KFH, PTP)
+QHJ = (SHM, FKM)
+MXD = (XGB, LTX)
+SGM = (FTS, GXX)
+LTX = (RMT, HGF)
+RNQ = (SPL, DKH)
+NHF = (VXC, HRS)
+KFR = (JXR, PFV)
+NRP = (XNN, MTB)
+VDR = (LDL, JCP)
+FSS = (KXJ, GKL)
+QVS = (MKN, BLH)
+SNN = (SBM, PNH)
+VXB = (LLG, BHP)
+BPK = (QVS, PPV)
+SMV = (TGJ, LPL)
+CXF = (XKV, PVR)
+PGC = (NBJ, KCK)
+VLG = (DDG, MBK)
+FKL = (HFC, XPP)
+KFC = (XNM, CNR)
+FCC = (BRK, GLT)
+HQC = (JKV, JHQ)
+QQV = (CPG, HQD)
+VVG = (XGJ, XGJ)
+SVK = (HVH, HNJ)
+XQT = (LQX, HNT)
+JDB = (PXM, THR)
+JHR = (XRF, DHN)
+HRS = (TFJ, PQH)
+SVQ = (XHX, QNG)
+KGN = (FCV, SBH)
+GJX = (MFG, LMS)
+NBJ = (GVB, RMS)
+VQJ = (JPB, PDF)
+TKX = (JMT, LGM)
+FLL = (GTX, HKP)
+MFT = (FKM, SHM)
+JCP = (SSP, VMD)
+LPC = (KCD, JDB)
+XHR = (XPP, HFC)
+FKM = (DLL, XBQ)
+MGF = (NFX, MQS)
+JXJ = (MMP, CBT)
+DFP = (TGM, RHV)
+SSM = (NTC, TMT)
+DLX = (PXF, SBG)
+NNB = (TNT, MMF)
+QNG = (RHP, QBT)
+FLR = (CJK, QRL)
+RCP = (KKG, NTD)
+GJV = (SLG, DGN)
+FDN = (TBR, QDT)
+JTG = (RFT, PRC)
+LGM = (DLX, FPT)
+QDT = (CXV, SGD)
+HKP = (BLB, PCL)
+GXB = (MNH, GXT)
+QDS = (LTF, FDX)
+LMJ = (GJV, HVV)
+TDQ = (PTP, KFH)
+SGD = (HTT, PNR)
+XPV = (BPM, CPH)
+PTP = (MKL, KSP)
+DKG = (DKK, KNQ)
+QCN = (XTD, GQM)
+LSV = (GDK, VVD)
+MLG = (RLS, RKG)
+GMX = (FKL, XHR)
+QSN = (PNH, SBM)
+CHQ = (KSB, CXF)
+RHN = (LTX, XGB)
+LVX = (JSF, MLT)
+XHM = (FLR, QVK)
+NCJ = (CPG, HQD)
+MQV = (HBD, LDK)
+VVD = (QBV, FKF)
+QCD = (GMG, TDQ)
+GTH = (DLJ, DQF)
+KFH = (KSP, MKL)
+NFC = (PKQ, MDK)
+NCD = (FNB, LLT)
+MKG = (HNS, DDK)
+BTV = (KBS, HKH)
+QGL = (QTF, CVS)
+DDB = (DVF, HXV)
+PXF = (CVH, LMJ)
+NFV = (XMN, BQR)
+DGN = (SNJ, PTL)
+HHL = (PHC, QQJ)
+XPR = (XGJ, LVQ)
+PCQ = (BRD, SFT)
+MMT = (RDS, SRS)
+DMR = (GJM, BQS)
+QPL = (XNQ, CMN)
+PDF = (JBH, CTX)
+CVR = (STX, MBQ)
+LPL = (SFL, PHQ)
+FXX = (PNX, PQL)
+KLS = (NHG, CHF)
+NHX = (TMN, JLJ)
+NND = (QHN, XBR)
+JTT = (QNG, XHX)
+LML = (FDX, LTF)
+PCS = (LKV, LXX)
+SRV = (KCD, JDB)
+NSK = (NBJ, KCK)
+MRF = (NKP, JKG)
+VPX = (NSN, SMB)
+GFT = (FPL, MSB)
+DFM = (XKQ, PPQ)
+PPQ = (PCS, BSH)
+JJC = (JHR, RQG)
+JBH = (BDV, QHL)
+KNQ = (KNP, MRL)
+TBS = (NTD, KKG)
+JXL = (RQG, JHR)
+GKL = (MJC, QBM)
+BQR = (LKQ, CJV)
+DGP = (VNT, JRB)
+DKR = (VBJ, GVF)
+JXN = (BXD, XLT)
+TVG = (HGR, GMX)
+XSD = (TLM, KPH)
+RMT = (GXB, DPT)
+FRL = (VVD, GDK)
+PNX = (NCD, KHN)
+VGK = (CNR, XNM)
+MQB = (KSF, LJS)
+KDC = (MSB, FPL)
+GCD = (CXS, PCC)
+XML = (VNT, JRB)
+TBL = (GCV, HDH)
+BRV = (DKK, KNQ)
+JKS = (XXB, ZZZ)
+TMC = (MDQ, QJF)
+TNT = (NQJ, SSM)
+FLF = (XSD, RFG)
+JRB = (FDF, HQC)
+PTL = (DBQ, MVG)
+BGQ = (KFR, HLB)
+XTD = (VRS, BRS)
+QXX = (SJD, CSH)
+FRX = (BQS, GJM)
+PQL = (NCD, KHN)
+LKV = (PNK, DKR)
+HQS = (VVG, XPR)
+VPQ = (NTL, VMQ)
+THR = (CBV, CVR)
+FST = (BQR, XMN)
+DMD = (CVS, QTF)
+HXV = (RCP, TBS)
+STM = (RFX, BFR)
+JTR = (JTL, JXN)
+FLG = (PFQ, CBJ)
+CKM = (KFB, HTP)
+NCT = (KJK, RCJ)
+DKH = (STB, TTB)
+QGA = (CGR, SGM)
+XNQ = (HJM, MLG)
+RGF = (LFN, FGC)
+QBV = (VPJ, RMN)
+QKJ = (KFC, VGK)
+CSB = (FDL, FDL)
+HFK = (DHS, SXC)
+SVP = (NPJ, BTL)
+GGR = (XTG, FLF)
+XKV = (NDH, JXJ)
+BMR = (FRX, DMR)
+VVQ = (BFN, TVK)
+HJM = (RKG, RLS)
+RLK = (PDF, JPB)
+DCX = (HNQ, BRZ)
+TBG = (RTL, SML)
+RMS = (FRL, LSV)
+FCV = (STM, HTC)
+SPR = (TBL, JGG)
+BHP = (LXK, KBL)
+NPJ = (XLV, PQR)
+NKF = (TBD, DKP)
+PDK = (JTK, JTK)
+PFQ = (RBX, JQL)
+LBB = (SVP, HTD)
+GTX = (BLB, PCL)
+SBH = (HTC, STM)
+BFR = (RJN, BTN)
+TCR = (TBL, JGG)
+MQS = (PXX, PLG)
+FRG = (XXB, XXB)
+STX = (XQL, HGM)
+HNJ = (HBN, SVN)
+SSL = (RDL, NST)
+HJS = (QCD, RLF)
+KBL = (SSL, MFR)
+CXS = (RHD, GQR)
+DFD = (NFP, FCC)
+VBJ = (HFK, GLB)
+DKP = (NNB, CQH)
+QSK = (TKX, CQT)
+BNV = (JTK, GTH)
+NBH = (LVX, GQB)
+QBM = (VNC, VPK)
+DBD = (HHR, RVQ)
+DFF = (BPM, CPH)
+LQX = (KJT, XXT)
+FGC = (QKQ, QSK)
+PXM = (CBV, CVR)
+JHQ = (CTB, DCX)
+NJN = (BGQ, FBP)
+TLL = (DDB, QRV)
+XSN = (THS, KJQ)
+KXJ = (QBM, MJC)
+GSC = (TQG, QXX)
+QJP = (PQL, PNX)
+PHH = (MXD, RHN)
+SSC = (NQX, FCH)
+XDF = (NLQ, VCR)
+BRD = (MQV, FRQ)
+AAA = (LRV, HJS)
+PTT = (FFC, HRC)
+VKF = (BFG, TGQ)
+HHA = (FLG, VHN)
+CNR = (TQX, VDV)
+TGM = (FLL, TNV)
+GLT = (DJB, QPL)
+MBK = (NBS, KTV)
+JPB = (JBH, CTX)
+RHP = (SQM, DJP)
+CHF = (CLQ, JGQ)
+FTL = (PRC, RFT)
+SKL = (XTD, GQM)
+RBN = (SPM, VLG)
+HGF = (GXB, DPT)
+BQS = (NSP, BTV)
+XHX = (RHP, QBT)
+CGR = (GXX, FTS)
+BLB = (QJP, FXX)
+CRT = (JLJ, TMN)
+PLG = (SLC, PDD)
+HRV = (FFC, HRC)
+MCM = (JXN, JTL)
+JGH = (MFG, LMS)
+NSP = (KBS, HKH)
+MFR = (NST, RDL)
+GMF = (TVK, BFN)
+SML = (LJL, XFP)
+MPL = (RDS, SRS)
+QHP = (SPM, VLG)
+FCH = (GDC, XRN)
+NRQ = (FTL, JTG)
+HMB = (CRC, FSS)
+KPH = (BNH, SLK)
+SRS = (MQB, GCN)
+RQM = (TGQ, BFG)
+FLN = (CSB, CSB)
+BSH = (LKV, LXX)
+CRC = (KXJ, GKL)
+CJV = (XDF, CHK)
+CGJ = (DGP, XML)
+SFL = (GJJ, HQS)
+PMR = (VPF, GKD)
+QTN = (MMT, MPL)
+KJQ = (RLK, VQJ)
+PBJ = (LFN, FGC)
+BTL = (PQR, XLV)
+SBX = (KFC, VGK)
+QQJ = (PDK, BNV)
+BRZ = (GNF, QQN)
+JTL = (XLT, BXD)
+SKG = (PRV, DBK)
+RQG = (DHN, XRF)
+DRC = (SFC, CHQ)
+TJQ = (NQX, FCH)
+PKS = (TMM, PMR)
+TRP = (GVD, FBL)
+LKQ = (XDF, CHK)
+RTL = (XFP, LJL)
+PPV = (MKN, BLH)
+MTB = (GCG, TMC)
+FPT = (PXF, SBG)
+LDK = (FDN, PFD)
+TND = (PPX, SVK)
+VPK = (NHF, JDX)
+HTP = (NKF, RPV)
+PMS = (SMB, NSN)
+GGG = (XKQ, PPQ)
+DLL = (KKN, QTN)
+JXX = (HHR, RVQ)
+KSF = (QPV, GDQ)
+XQD = (FGK, BNJ)
+RJF = (CSB, KTM)
+GCN = (KSF, LJS)
+JKP = (LML, QDS)
+XFP = (VPX, PMS)
+DPT = (GXT, MNH)
+DKK = (KNP, MRL)
+NKB = (DDK, HNS)
+CJK = (GSC, GBQ)
+NLM = (LDL, JCP)
+VMD = (DFD, XFM)
+NBX = (XJC, CGJ)
+PRS = (NLM, VDR)
+RMQ = (FRG, FRG)
+XNM = (TQX, VDV)
+LJC = (VDR, NLM)
+PHQ = (GJJ, HQS)
+KXN = (KHB, HHL)
+BXD = (CKM, XVL)
+KFB = (NKF, RPV)
+NFS = (PRL, RFL)
+RJN = (SFV, RRG)
+GQM = (VRS, BRS)
+KQH = (VBC, BSJ)
+DNR = (BMR, LJQ)
+HHR = (LPC, SRV)
+DLJ = (MHG, MHG)
+SMB = (RFJ, NJT)
+RHV = (FLL, TNV)
+NTD = (HBX, GVS)
+VNT = (FDF, HQC)
+PRC = (GMF, VVQ)
+FBP = (HLB, KFR)
+KTM = (FDL, LRZ)
+TQP = (QGL, DMD)
+SBM = (QPG, KXN)
+QVK = (CJK, QRL)
+XRF = (RGF, PBJ)
+NDH = (CBT, MMP)
+GVL = (RTL, SML)
+LRZ = (VHN, FLG)
+CQH = (MMF, TNT)
+SLK = (TJQ, SSC)
+QBT = (SQM, DJP)
+FNF = (LLG, BHP)
+STB = (KMS, NRP)
+HVV = (SLG, DGN)
+RFX = (BTN, RJN)
+MKL = (GVM, LVP)
+VDV = (BPK, CFB)
+CBT = (GJX, JGH)
+PPX = (HVH, HNJ)
+NQJ = (TMT, NTC)
+MJH = (MHP, XQT)
+LTA = (KLS, BFV)
+CSH = (BXQ, GHF)
+HTK = (XTG, FLF)
+VNC = (JDX, NHF)
+BFG = (MRC, NKK)
+KKG = (GVS, HBX)
+PNK = (GVF, VBJ)
+XXB = (LRV, HJS)
+DVF = (TBS, RCP)
+PNR = (NCJ, QQV)
+QKQ = (CQT, TKX)
+TTR = (SPL, DKH)
+BTN = (RRG, SFV)
+VLM = (PHH, SFH)
+TQG = (SJD, CSH)
+MHP = (LQX, HNT)
+NQX = (GDC, XRN)
+TQX = (BPK, CFB)
+TVB = (LHR, SMV)
+MBQ = (XQL, HGM)
+HXJ = (MQS, NFX)
+DHN = (PBJ, RGF)
+BFN = (MKG, NKB)
+PVR = (JXJ, NDH)
+QRL = (GBQ, GSC)
+GJM = (NSP, BTV)
+KQV = (NHH, CQK)
+KNP = (TKS, PKS)
+PDD = (FND, JKP)
+GXT = (VKF, RQM)
+XDC = (FTL, JTG)
+MMF = (SSM, NQJ)
+BFV = (CHF, NHG)
+DHS = (PHX, PHX)
+VXC = (PQH, TFJ)
+XLV = (TLL, RVS)
+PXX = (SLC, PDD)
+GVD = (DRC, DRC)
+THS = (VQJ, RLK)
+DBK = (PGC, NSK)
+KHB = (PHC, QQJ)
+TKS = (PMR, TMM)
+SVR = (NJN, TFP)
+HNQ = (QQN, GNF)
+MKN = (GGG, DFM)
+KRP = (NFM, NFC)
+SHM = (XBQ, DLL)
+NTL = (NCT, DFB)
+NRK = (QVK, FLR)
+HXL = (DSX, DSX)
+KSB = (XKV, PVR)
+NKK = (BKF, QMJ)
+MHG = (KLS, BFV)
+PNP = (XBR, QHN)
+CLQ = (TPX, NMV)
+RSG = (XDC, NRQ)
+BPM = (PCQ, QKX)
+PHC = (PDK, BNV)
+TNR = (KJV, QGC)
+XQL = (VPV, SVR)
+MHV = (QTS, RSG)
+XBR = (THC, JHT)
+BDX = (PHH, SFH)
+TBR = (CXV, SGD)
+RVQ = (SRV, LPC)
+NFM = (PKQ, MDK)
+FBL = (DRC, QSZ)
+TLM = (BNH, SLK)
+NHH = (SKS, GPP)
+FKF = (RMN, VPJ)
+XVL = (HTP, KFB)
+NHG = (CLQ, JGQ)
+FGK = (NBH, KBX)
+VMQ = (DFB, NCT)
+LXX = (DKR, PNK)
+SMJ = (QGB, NFS)
+LVP = (KDC, GFT)
+QGB = (PRL, RFL)
+BRX = (BNJ, FGK)
+BDV = (MRF, RXX)
+SJM = (BMR, LJQ)
+GBQ = (TQG, QXX)
+JXR = (XJT, CVX)
+TMN = (XSN, PQM)
+CQT = (LGM, JMT)
+CPG = (QHP, RBN)
+BKZ = (BFV, KLS)
+VVR = (HTK, GGR)
+XFM = (NFP, FCC)
+CVH = (GJV, HVV)
+VPS = (XQT, MHP)
+MDJ = (QHJ, MFT)
+SNF = (QTS, RSG)
+NKQ = (HMB, JVX)
+PRL = (FNF, VXB)
+CMN = (MLG, HJM)
+JQL = (NKQ, CNV)
+QSZ = (CHQ, SFC)
+HLR = (MHV, SNF)
+RDL = (TBG, GVL)
+GVM = (KDC, GFT)
+KTV = (CKK, VBK)
+SLC = (JKP, FND)
+QHL = (MRF, RXX)
+KKN = (MPL, MMT)
+TNV = (HKP, GTX)
+QMJ = (TVG, JCF)
+BSJ = (NFV, FST)
+BNJ = (NBH, KBX)
+XXQ = (GCD, CMQ)
+TGQ = (NKK, MRC)
+SVH = (NFC, NFM)
+LQB = (FRG, JKS)
+GNF = (HRV, PTT)
+PFV = (CVX, XJT)
+JTK = (DLJ, DLJ)
+KSP = (LVP, GVM)
+PFD = (TBR, QDT)
+MLT = (KSQ, KKJ)
+GVF = (HFK, GLB)
+JLS = (PPX, SVK)
+TBK = (CMQ, GCD)
+LJB = (QHJ, MFT)
+KSQ = (PST, TQP)
+SXC = (PHX, TRP)
+TTB = (NRP, KMS)
+VBX = (MHV, SNF)
+CXV = (PNR, HTT)
+XCT = (NFS, QGB)
+JBD = (KRP, SVH)
+JDX = (HRS, VXC)
+BNH = (TJQ, SSC)
+HQD = (RBN, QHP)
+RXX = (NKP, JKG)
+NTC = (NND, PNP)
+QTF = (TVQ, MHR)
+JND = (FCV, SBH)
+RDS = (MQB, GCN)
+FDL = (FLG, VHN)
+TGJ = (SFL, PHQ)
+KBX = (GQB, LVX)
+GQR = (TMD, KQH)
+LMS = (JBD, GSM)
+VPJ = (SMJ, XCT)
+LVQ = (HXL, VNK)
+GDK = (QBV, FKF)
+KCD = (PXM, THR)
+JGG = (GCV, HDH)
+NFP = (BRK, GLT)
+SFV = (TBK, XXQ)
+KJK = (QKN, XPD)
+CVX = (SBX, QKJ)
+GCG = (QJF, MDQ)
+FNB = (VFV, VPQ)
+CBV = (STX, MBQ)
+PNH = (QPG, KXN)
+HFC = (GSJ, RDT)
+GHF = (FLN, RJF)
+CKK = (BRV, DKG)
+LFN = (QKQ, QSK)
+MNH = (VKF, RQM)
+MMP = (GJX, JGH)
+HVB = (SSG, TNR)
+TMD = (BSJ, VBC)
+QTS = (NRQ, XDC)
+TVQ = (PTN, HVB)
+HTT = (QQV, NCJ)
+PQM = (KJQ, THS)
+XJT = (QKJ, SBX)
+PST = (QGL, DMD)
+XXT = (MBD, KQV)
+PCL = (QJP, FXX)
+MJC = (VPK, VNC)
+QPV = (JLS, TND)
+JLJ = (PQM, XSN)
+BKF = (TVG, JCF)
+SFT = (FRQ, MQV)
+XGJ = (HXL, HXL)
+JSF = (KKJ, KSQ)
+RMN = (XCT, SMJ)
+RPV = (TBD, DKP)
+XLT = (CKM, XVL)
+DJB = (CMN, XNQ)
+KCK = (GVB, RMS)
+LLT = (VFV, VPQ)
+CVS = (MHR, TVQ)
+NBS = (VBK, CKK)
+LJQ = (DMR, FRX)
+HKS = (TGM, RHV)
+HTC = (BFR, RFX)
+LDL = (VMD, SSP)
+QRV = (HXV, DVF)
+NST = (TBG, GVL)
+GQB = (JSF, MLT)
+KJT = (MBD, KQV)
+GSJ = (SVQ, JTT)
+FDX = (TVB, GXP)
+SSP = (XFM, DFD)
+FRQ = (LDK, HBD)
+JLR = (HTD, SVP)
+HNS = (SPR, TCR)
+MCZ = (SGM, CGR)
+GCV = (VPS, MJH)
+MDQ = (JJC, JXL)
+RKG = (NHX, CRT)
+TMT = (NND, PNP)
+SFC = (KSB, CXF)
+CQK = (SKS, GPP)
+FND = (LML, QDS)
+HVH = (HBN, SVN)
+CNV = (HMB, JVX)
+CMQ = (CXS, PCC)
+NLQ = (JTR, MCM)
+GDC = (RMQ, RMQ)
+PHX = (GVD, GVD)
+NKP = (HXJ, MGF)
+RRG = (XXQ, TBK)
+TFP = (BGQ, FBP)
+GXX = (LJB, MDJ)
diff --git a/2023/Day08/input.refout b/2023/Day08/input.refout
new file mode 100644
index 000000000..b305d6773
--- /dev/null
+++ b/2023/Day08/input.refout
@@ -0,0 +1,2 @@
+12737
+9064949303801
\ No newline at end of file
diff --git a/2023/SplashScreen.cs b/2023/SplashScreen.cs
index 673128a90..4a16b0e7d 100644
--- a/2023/SplashScreen.cs
+++ b/2023/SplashScreen.cs
@@ -9,27 +9,42 @@ public void Show() {
var color = Console.ForegroundColor;
Write(0xcc00, false, " ▄█▄ ▄▄█ ▄ ▄ ▄▄▄ ▄▄ ▄█▄ ▄▄▄ ▄█ ▄▄ ▄▄▄ ▄▄█ ▄▄▄\n █▄█ █ █ █ █ █▄█ █ █ █ █ █ █▄ ");
- Write(0xcc00, false, " █ █ █ █ █ █▄█\n █ █ █▄█ ▀▄▀ █▄▄ █ █ █▄ █▄█ █ █▄ █▄█ █▄█ █▄▄ // 2023\n \n ");
+ Write(0xcc00, false, " █ █ █ █ █ █▄█\n █ █ █▄█ ▀▄▀ █▄▄ █ █ █▄ █▄█ █ █▄ █▄█ █▄█ █▄▄ λy.2023\n \n ");
Write(0xcc00, false, " \n ");
Write(0xcc00, false, " \n \n ");
Write(0xcc00, false, " \n ");
Write(0xcc00, false, "\n \n ");
- Write(0xcc00, false, " \n \n ");
- Write(0xcc00, false, " ");
- Write(0xe3b585, false, ". \n ~ \n ");
- Write(0x333333, false, " * ");
- Write(0xe3b585, false, "~ ~ . ");
- Write(0x666666, false, " 9\n * ");
- Write(0xe3b585, false, "~ ");
+ Write(0xcc00, false, " \n \n ");
+ Write(0x333333, false, " * ");
+ Write(0xe3b585, false, "' ''... ");
+ Write(0x666666, false, "10\n ");
+ Write(0xe3b585, false, ". ~ ");
+ Write(0x6b4d3b, false, "### ");
+ Write(0xe3b585, false, "''. \n .");
+ Write(0x666666, false, " * ");
+ Write(0xe3b585, false, "~ ~ ~ ");
+ Write(0x6b4d3b, false, "##### ");
+ Write(0xe3b585, false, "'. ");
+ Write(0xcccccc, false, " 9 ");
+ Write(0x666666, false, "**\n ");
+ Write(0xe3b585, false, "~ ");
+ Write(0xffff66, true, "* ");
+ Write(0xe3b585, false, "~ ~ ~ ");
+ Write(0x6b4d3b, false, "### ");
+ Write(0xe3b585, false, ": ");
Write(0xcccccc, false, " 8 ");
- Write(0x666666, false, "**\n ");
- Write(0xe3b585, false, ". ~ ~ ~ . \n .. ~ ~ ");
+ Write(0xffff66, false, "**\n ");
+ Write(0xe3b585, false, ". ~ ~ ~ ~ ");
+ Write(0x6b4d3b, false, "##### ");
+ Write(0xe3b585, false, ".' \n '.. ~ ~ ");
Write(0xffff66, true, "* ");
- Write(0xe3b585, false, "~ . ");
+ Write(0xe3b585, false, "~ ");
+ Write(0x6b4d3b, false, "##### ");
+ Write(0xe3b585, false, "..'");
Write(0xcc00, false, ".'''''''''... ");
Write(0xcccccc, false, " 7 ");
Write(0xffff66, false, "**\n ");
- Write(0xe3b585, false, "'''.........' '");
+ Write(0xe3b585, false, "'''.........'''");
Write(0xcc00, false, "' ");
Write(0x5555bb, false, "~ ");
Write(0xcc00, false, ".'");
diff --git a/2023/calendar.svg b/2023/calendar.svg
index 345bd882c..a69826ce6 100644
--- a/2023/calendar.svg
+++ b/2023/calendar.svg
@@ -13,7 +13,7 @@
▄█▄ ▄▄█ ▄ ▄ ▄▄▄ ▄▄ ▄█▄ ▄▄▄ ▄█ ▄▄ ▄▄▄ ▄▄█ ▄▄▄
█▄█ █ █ █ █ █▄█ █ █ █ █ █ █▄ █ █ █ █ █ █▄█
-█ █ █▄█ ▀▄▀ █▄▄ █ █ █▄ █▄█ █ █▄ █▄█ █▄█ █▄▄ // 2023
+█ █ █▄█ ▀▄▀ █▄▄ █ █ █▄ █▄█ █ █▄ █▄█ █▄█ █▄▄ λy.2023
@@ -23,13 +23,13 @@
- .
- ~
- * ~ ~ . 9
- * ~ 8 **
- . ~ ~ ~ .
- .. ~ ~ * ~ . .'''''''''... 7 **
- '''.........' '' ~ .'*. ~ .. ''. 6 **
+ * ' ''... 10
+ . ~ ### ''.
+ . * ~ ~ ~ ##### '. 9 **
+ ~ * ~ ~ ~ ### : 8 **
+ . ~ ~ ~ ~ ##### .'
+ '.. ~ ~ * ~ ##### ..'.'''''''''... 7 **
+ '''.........'''' ~ .'*. ~ .. ''. 6 **
.' ~ '...' ~' '.~ '.
: ~ '. *'.~ : 5 **
...'''''. .''.~ '..' .'