First version of the thirty-ninth exercise.