Add a solution to the problem 59