Solution to the third task
Solution to the third task