Contests | Virtual Contests | Problems | Submit | Runs Status | Rank List | Forum |

Time Limit: 1.0 Seconds Memory Limit: 65536K

Total Runs: 638 Accepted Runs: 357

After the final exam, Shawn started to play a computer game SW. In the game, Shawn needs to make his equipments.
Just like the pattern of most of other games, SW’s equipment can be improved by stones, but different level stones
have different ability. The 1st level stone can increase the property of equipment by 0.6, the 2nd is 0.7, and the
kth level L_{k} can increase L_{k-1}×0.6+ L_{k-2}×0.5(k≥3). Now, he wants to
know how much property the kth level L_{k} stone can increase.

The first line of the input is an integer `T`(1≤`T`≤100) which indicates the sum of test case. Each of the following `T` lines contains
an integer `k`(1≤`k`≤100).

For every case output “Case i: Result” in a line where `i` is the case number and `Result` is the property the `i`th level stone can increase. Leave 2
digits after the decimal point.

3 1 4 7

Case 1: 0.60 Case 2: 0.78 Case 3: 0.95

Maintance:Fxz. Developer: SuperHacker, G.D.Retop, Fxz