<gh_stars>1-10
def trailing(num):
    sum = 0
    while(num!=0):
        sum += num//5
        num = num//5

    return sum

testcase = int(input('Enter a number: '))
print(trailing(testcase))

def trailing(num):
    sum = 0
    while(num!=0):
        sum += num//5
        num = num//5

    return sum

testcase = int(input('Enter a number: '))
print(trailing(testcase))