Solution to problem 28