Solved tasks for the exam