﻿using System;

    class PrintNumberOfZeros
    {
        static void Main(string[] args)
        {
            Console.Write("Enter the number n for the factoriel : ");
            int numberN = int.Parse(Console.ReadLine());
            int numberOfZeros = 0;
            int devider = 1;
            if (numberN <= 0)
            {
                Console.WriteLine("Invalid number( n <= 0");
            }
            else
            {
                while(numberN/devider >= 1)
                {
                    devider *= 5;
                    numberOfZeros += numberN / devider;
                    
                }
                Console.WriteLine("The number of zeros is : {0}",numberOfZeros);
            }

        }
    }

