Solution for problem 71.