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