Art of Problem Solving

2013 AMC 10B Problems/Problem 22