Question 2

Question 2: Count Zero

Statement: You are given a number how many zeroes does N! end on?

Input Format: The first line contains one integer 

T i.e number of test cases. The following T lines contain one integer N.

Output Format: For each test case output one integer per line.

Constraint:

T<=1000

0<=N<=1011

Sample Input:

3

9

11

20

Sample Output:

1

2

4

Solution: