#include<stdio.h> int main() { int i; int m=1,c=0; for(i=1;i<=1000;i++){ m*=i; while(m%10==0){ c++; m/=10; } m=m%10; } printf("%d\n",c); return 0; }