Advent of Code 2023: Day 19

Read the problem