Pritam lives in a ghostly town named Lodha Heaven (not that he wishes to live there). He travels through bus to another cities that he wishes to explore. Bus fare for any location is any positive integer R but if Pritam books ticket for the round trip from the same bus then he receives 10% discount on the total incurred bus fare.
Pritam always seeks to save some money through his bus trips so that he can buy BTS Official Album DVD’s. As Pritam is busy planning his future bus trips, he needs your help.
Your task is to find the minimum amount of bus fare Pritam will have to pay on a complete trip given the bus fare for one side journey for that trip.
The first line of input contain an integer T denoting the number of test cases. Each test case consists of one line, which contains the integers R - the price for one side of the trip.
For each test case, output a single line with the integer which is minimum amount of money Pritam will incur as bus fare on a particular trip. Your answer will be considered correct if it has an absolute error less than 10-2.
1 <= T <= 105
10 <= R <= 1016
Test case 1: Total cost for the first trip is Rs 50. After applying 10% discount on total price, Pritam gets Rs 5 off. So total cost of complete trip is 50 - 5 = Rs 45.00
Test Case 2: Total cost for the first trip is Rs 40 . After applying 10% discount on total price, Pritam gets Rs 4 off. So total cost of complete trip is 40 - 4 = Rs 36.00