Advent of Code 2023: Day 08

Read the problem