Files
PS/boj/1676.py
Gyubin Han 2600340c03 first commit
from old repository to a new repository
2024-04-30 16:59:10 +09:00

17 lines
188 B
Python

n=int(input())
p=1
for i in range(2,n+1):
p*=i
res=str(p).split('0')
count=0
a=1
while True:
if res=="" or not res[-a]=='':
break
count+=1
a+=1
print(count)