Lab1. Task 3 was added.