Estonian IT Olympiad Advanced Group Finals 2014 - Task 2