Double Factorial

No attempts yetTime limit1sMemory limit128 MB

Problem

For a positive integer nn, its factorial n!n! is the product of all integers from 11 to nn. Define the double factorial of nn as the product of the first nn factorials:

1!2!3!n!1! \cdot 2! \cdot 3! \cdots n!

Given nn, determine the number of trailing zeros in the decimal representation of this double factorial.

Input

A single line contains one integer nn (1n10181 \le n \le 10^{18}).

Output

Print a single line with the number of trailing zeros of the double factorial of nn.

Hint

For n=11n = 11, the double factorial equals 265790267296391946810949632000000000265790267296391946810949632000000000, which has 99 trailing zeros.