#include <stdio.h>
int main() {
int n,cnt=0;
scanf("%d",&n);
for (int i=1; i<=n; i++) {
if (i%5==0) {
int num=i;
while(num%5==0) {
cnt++;
num/=5;
}
}
}
printf("%d",cnt);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: