Fix output for a Scala exercise.