Task for second homework