solution to problem 65