You are given a number n. Calculate how many zeros it ends with.
The first line contains a natural number, n(0≤n≤109).
The solution to the problem in a single line.
123000
3
0
1
Login to be able to submit.