Question 24
The digits $1,$ $2,$ $3,$ $4,$ and $5$ are each used once to write a five-digit number $PQRST.$ The three-digit number $PQR$ is divisible by $4,$ the three-digit number $QRS$ is divisible by $5,$ and the three-digit number $RST$ is divisible by $3.$ What is $P?$