https://www.luogu.com.cn/problem/T354339
n = int(input()) fac = 1 for i in range(1, n + 1): fac *= i print(str(fac).count('0'))