Part of 2017 Federal Competition For Advanced Students, P2
Source: 48th Austrian Mathematical Olympiad National Competition (Final Round, part 2) 25th May 2017 p6