Part of 2019 Austrian Junior Regional Competition
Source: 2019 Austrian Mathematical Olympiad Junior Regional Competition , Problem 4