Code for problem 59.