Art of Problem Solving

2020 AIME I Problems/Problem 5