Code for problem 75.