Solution to problem 41.