#P1025. 末尾零 (Trailing Zeros)

末尾零 (Trailing Zeros)

Source: CSES Problem Set (Task 1618)
Link: https://cses.fi/problemset/task/1618
Category: Introductory Problems

  • Time limit: 1.00 s
  • Memory limit: 512 MB

Your task is to calculate the number of trailing zeros in the factorial n!n!.

For example, 20!=243290200817664000020!=2432902008176640000 and it has 44 trailing zeros.

Input

The only input line has an integer nn.

Output

Print the number of trailing zeros in n!n!.

Constraints

  • 1≤n≤1091 \le n \le 10^9

Example

Input:

20

Output:

4