Advent of Code 2023: Day 05

Read the problem