#include <iostream.h>
#include <stdlib.h>
#include <math.h>
int main()
{
int count=0,n,Shu;
cout<<"Input the num:"<<endl;
cin>>Shu;
for(int m=0;m<Shu;++m)
{
if(pow(5,m)>=Shu) {n=m-1;
break;}
}
for(int i=5;i<=Shu;i+=5)
{
// if(i%5==0) ++count;
#include <stdlib.h>
#include <math.h>
int main()
{
int count=0,n,Shu;
cout<<"Input the num:"<<endl;
cin>>Shu;
for(int m=0;m<Shu;++m)
{
if(pow(5,m)>=Shu) {n=m-1;
break;}
}
for(int i=5;i<=Shu;i+=5)
{
// if(i%5==0) ++count;