Part of 2005 China National Olympiad
Source: china mathematical olympiad cmo 2005 final round - Problem 6