Solution for problem 64.