Part of 2009 Finnish National High School Mathematics Competition
Source: Finnish Mathematics Competition 2009, Final Round - P1