Trailing Zeros of N!
How many zeros does end with? (You can't compute itself for large — think about factors of 5.)
Input
A single integer .
Output
The number of trailing zeros.
Constraints
Sample 1
Input
10
Output
2
Sample 2
Input
4
Output
0
How many zeros does end with? (You can't compute itself for large — think about factors of 5.)
A single integer .
The number of trailing zeros.
Input
10
Output
2
Input
4
Output
0