1斤=0.5kg
1两=0.05kg
So 5斤2两 means 0.5*5+0.05*2=2.6kg.
Given similar information for other babies, your task is to find out their weights in kg.
The first line contains the number of test cases T(T<=100). Each test case contains a string in format "a斤b两"(1<=a<=10, 1<=b<=9) or "a斤"(1<=a<=10).
The input file will be encoded with UTF-8 without BOM (if you don't know what it is, you can safely ignore it).
For each test case, print the ACCURATE weight in kg (without trailing zeros).
3 5斤2两 7斤3两 6斤
Case 1: 2.6 Case 2: 3.65 Case 3: 3