Art of Problem Solving

2008 AMC 12A Problems/Problem 24