Art of Problem Solving

2014 AIME I Problems/Problem 2