Added solution for the task 59.