Part of 2023 Centroamerican and Caribbean Math Olympiad
Source: 2023 Centroamerican and Caribbean Math Olympiad, P5