Guest
Login
跳过导航链接

SCU's Bath House
Time Limit:1000MS  Memory Limit:32768K

Description:

Everyone in Sichuan University must done one thing, that is going to the famous bathhouse and bathing. If you have not done it before, you must be a superman. And Dahema will not play with you.
Everyone knows that if you bath no more than 10 minutes, it costs only 1 RMB. If you bath exceed 10 minutes, just 0.15 RMB per minutes for the excess minutes.
If you bath for N minutes, how much you must pay for it?

Input:

The first line of input is the number of test case. For each test case: there is only one line contains only one integer N(1<=N<=60)

Output:

For each test case output the answer on a single line. The result should be rounded to two decimal places.

Sample Input:

3
10
11
1

Sample Output:

1.00
1.15
1.00

Source:

2010亚洲预赛四川赛区热身题
Status  Submit


Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
 All Copyright Reserved 2006
390