#P2131. Oh,myGod!

Oh,myGod!

In order to happy everyone, organizer HRW held an open up partythere have specific requirements for this activity is this:
First of all, all person in the party will have to write a note to his name into the box;Then, after all the note added is completed, each taking a note from the box;Finally, if made note of your name, then "Congratulations, won the party!"
Oh, my God!
Now to the question, you can calculate the probability of this happening?Don't count? Don't you want said by others as a  DouBi?!  AC it!

Input

Input file contains several test cases. Each test case consists of a integer numbers n on a line(one≤n≤ten ).The last test case is followed by a line that contains one zeroes. This line must not be processed.

Output

print the the probability
See the following example.

Sample Input

2
3
0

Sample Output

Case [1]: 50.00%.
Case [2]: 33.33%.

HINT

要用到错排公式,计算所有人都抽到自己名字的概率

Source