Problem 5 · Hamilton Mathematical Olympiad 2022 | Problems