Part of 2011 Middle European Mathematical Olympiad
Source: Middle European Mathematical Olympiad 2011 - Team Compt. T-5