Reverse Tax In the country of NewerLand, which is a recently established country, even later than NewLand but not as late as NewestLand, the Supreme Ruler was finally forced to introduce some taxes to support all the state spending. The Ruler thought hard for a long time and came up with the following novel tax system: Each citizen will sum up all his earnings, and: On the first $10000 he'll pay 19%. On the next $15000 he'll pay 28%. On any amount above $25000 he'll pay 33%. Because of the well known generosity of the Supreme Ruler, the tax is rounded down to whole dollars. You're working for NSA (NewerLand Statistics Agency) and your boss told you that he'd like to make a report on citizen's incomes in the last year. In order to do that you're provided with data from the revenue agency. Given the amount of tax each person has paid you need to compute the biggest income that person might have had. Input In the first line of input, there will be a single positive integer N smaller than a thousand. That will be the number of test cases that will follow. Each test case will consist of a single line in the following format: [first name] [surname] [tax] where [first name] and [surname] will be strings of lowercase letters ('a'-'z'), and [tax] will be a positive integer equal to the amount of tax the person has paid (in dollars). Output For each input line, you need to output the maximum income that results in the tax amount in the following format: [dollars].[cents] You are guaranteed that the correct output value will not be bigger than ten billion dollars. Sample input 4 john dolly 15 maximilan buffet 1234 tracy chapman 10000 monika chojnacka 117002 Sample output 84.21 6499.99 36821.21 361069.69