Art of Problem Solving

2019 AIME II Problems/Problem 5