Author principles in the preparation of problems for written school leaving examinations for talented students in mathematics and principles of the creation of problems for the Mathematical Olympiad