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