2023 SSMO Relay Round 1 Problems/Problem 2