Those Crazy Brits ================= Well, they're at it again. Your company is hosting an international conference in London and the Brits have decide metric units of measure weren't enough. The entire country is switching over to using metric TIME too! The conference is happening after the change, and, therefore, your boss has thrown you the job of converting the schedule to metric-time. This new metric-time standard works as follows: 1) The length of a "day" will be identical to traditional time. 2) There are 10 metric hours in a day 3) There are 100 metric minutes in a metric hour 4) There are 100 metric seconds in a metric minute Thankfully, your schedules don't use seconds so you won't have to deal with that. Input ----- The first line of your input file will, as in other problems, tell you how many event-times you have to convert. Each scheduled event will take up exactly one line with a maximum of 80 characters. The formatting is as follows, but without the brackets: [time] [event description] The time will be exactly formatted as follows, the 123... indicate the column numbers starting at 1, with the 0 indicating 10: 1234567890... HH:MMpm [event description] or HH:MMam [event description] "pm" and "am" will be always be lower-case. The hour will be right-justified with a leading space if necessary. The minutes will be right-justified with a leading zero (0) if necessary. The hour and minute fields are limited, as expected for a 12-hour clock, to: 1 <= HH <= 12 0 <= MM <= 59 Output ------ There will be one output line for each input line. You will copy the event description exactly, but replace the standard-time with its new metric-time equivalent. The formatting will look like this but without the [ ]'s: [time] [event description] Your output time will be similarly column-formatted with the new metric-time format: 1234567890 H.MMh [event description] The "h" stands for metric hours and should follow each metric time. The metric fields are limited as expected: 0 <= H <= 9 0 <= MM <= 99 Metric-seconds should be rounded to the nearest metric-minute. Sample Input ------------ 3 12:30pm Lunch 8:05am First Sessions 6:15pm Dinner Sample Output ------------- 5.21h Lunch 3.37h First Sessions 7.60h Dinner