First attempt, Problem 21