Given an integer n, we need to find the number of positive integers whose factorial ends with n zeros.
The first line of the input contains a single integer T, denoting the number of test cases. Then T test case follows, a single line of the input containing a positive integer N.
For each testcase, Print the count of positive numbers whose factorial ends with n zeros.
Testcase 1: Here, 5! = 120, 6! = 720,
7! = 5040, 8! = 40320 and 9! = 362880.
Testcase 2: No such number exists.
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.