Solve the Canada mathematical Olympiad question .