Coding exercise.