100 atcoder#ABC148E. [ABC148E] Double Factorial
[ABC148E] Double Factorial
Score : points
Problem Statement
For an integer not less than , let us define as follows:
- (if )
- (if )
Given is an integer . Find the number of trailing zeros in the decimal notation of .
Constraints
Input
Input is given from Standard Input in the following format:
Output
Print the number of trailing zeros in the decimal notation of .
12
1
$f(12) = 12 \times 10 \times 8 \times 6 \times 4 \times 2 = 46080$, which has one trailing zero.
5
0
, which has no trailing zeros.
1000000000000000000
124999999999999995