Problem
- The chef rented a car for a day.
- Usually, the cost of the car is Rs 1010 per km. However, since Chef has booked the car for the whole day, he needs to pay for at least 300300 kms even if the car runs less than 300300 kms.
- If the car ran XX kms, determine the cost Chef needs to pay.
Input Format
- The first line of input will contain a single integer TT, denoting the number of test cases.
- Each test case consists of a single integer XX - denoting the number of kms Chef travelled.
- For each test case, output the cost Chef needs to pay.
Constraints
1<= T <=100
1<=X<=1000
Click Copy code Snippet below