FERMAT 2023 Problem 20

If n is a positive integer, the symbol n ! (which is read " n factorial") represents the product of the integers from 1 to n, inclusive. For example, 5!=(1)(2)(3)(4)(5) or 5!=120, which ends with exactly 1 zero. For how many integers m, with 1 \leq m \leq 30, is it possible to find a value of n so that n ! ends with exactly m zeros?

Answer Choices
A. 30
B. 27
C. 28
D. 24
E. 25