64. Меѓународна Математичка Олимпијада (IMO 2023) | Задача 3

64th International Mathematical Olympiad (IMO 2023) | Problem 3