https://www.acmicpc.net/problem/1676
using System;
class Program
{
static void Main() {
string s=Console.ReadLine();
int n=int.Parse(s);
int count=0;
while(n>=5){
count+=n/5;
n/=5;
}
Console.Write(count);
}
}