Advent of Code 2023: Day 23

Read the problem