https://www.acmicpc.net/problem/1676
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner s=new Scanner(System.in);
int n=s.nextInt();
int count=0;
while(n>=5){
count+=n/5;
n/=5;
}
System.out.print(count);
}
}