Part of 2009 Grand Duchy of Lithuania
Source: 2009 Grand Duchy of Lithuania, Mathematical Contest p5 (Baltic Way TST)