Solution for task 64.