AMC8 2016 Problem 24

The digits 1,2,3,4, and 5 are each used once to write a five-digit number P Q R S T. The three-digit number P Q R is divisible by 4 , the three-digit number Q R S is divisible by 5 , and the three-digit number R S T is divisible by 3 . What is P ?

Answer Choices
A. 1
B. 2
C. 3
D. 4
E. 5