N!

Time Limit: 1000 ms Memory Limit: 65536 KiB

Problem Description

首先很感谢刘老师能给我这次机会给大家出题,希望大家做完题后能有所收获,如果有任何问题还请海涵,毕竟出套题不容易……TAT
题目整体不难,大体是给我带的大一新生出题的难度,所以请各位放心。
If you want to learn something from other people, remember, stay hunger.---shadow95
Now, your first problem comes~
This task is very simple, please calculate how many zeros are there at the end of calculation of n!.
For example, 15! = 1307674368000, so answer is 3.

Input

 At the first line, there is a number T indicating the number of test cases.
Then, following T lines, each line there is a number n (n<10^9).

Output

For each case, output the case number and answer in one line.

Sample Input

3
5
100
1024

Sample Output

Case #1: 1
Case #2: 24
Case #3: 253

Hint

 

Source

HDU shadow95