Art of Problem Solving

2022 AIME II Problems/Problem 3