Part of 2016 Grand Duchy of Lithuania
Source: 2016 Grand Duchy of Lithuania, Mathematical Contest p3 (Baltic Way TST)