Minor change problem 33 solution