Advent of Code 2023: Day 24

Read the problem