Art of Problem Solving

2017 AMC 12B Problems/Problem 23