Sifar

No attempts yetTime limit1sMemory limit128 MB

Problem

Given NN, print the largest MM such that N!N! is divisible by 10M10^M.

Input

The input has several lines. Each line holds one integer NN with 5N1065 \le N \le 10^6. The last line holds 00, and that line is not a test case.

Output

For each test case, print the largest MM on its own line in the form Case #x: M. Here xx is the test case number and it starts at 1.

Hint

Sifar is said to mean zero in Malay.