Exam from July 2014, Informatics. Thanks to Vladimir Kuzmov.