#10519: 請高手幫我縮時阿


fdhs103hunter (喵的咧!!)


#include<iostream>

#include<cmath>

using namespace std;

int main()

{

int n;

while(cin>>n){

int product=1,i,x=0;

for(i=1;i<=n;++i) {

product*= i; 

}

for(int j=1;j<=n;j++)

    int z=pow(10,j);

if(product%z==0){

x+=1;

}

 

}

cout<<x<<endl;

}

}