I thought the answer would simply be $2 \times 9 \times 8 \times 7 = 1008$, since the last digit must be 0 or 5, so we have two choices. Then after picking the last digit, we have 9 choices for the 1st digit, 8 for the 2nd digit, and 7 for the 3rd digit.
However, the correct answer is 952. Can anyone tell me where am I over counting, and how I could solve it?