磨养老房的小精灵
Background
Once upon a time, there were two elves who liked to grind tires very much. One day the two of them felt bored and began to grind the donkey teacher's old-age room.
很久很久以前,有两个小精灵,他们非常喜欢磨轮胎。一天他们两个人觉得很无聊,便开始磨驴老师的养老房。
Description
The demolition time of the two elves is 2 days and 4 days respectively. Enter the size of the house (m 3) and find out how many days they need to cooperate to demolish the donkey teacher's old-age house.
两个小精灵的拆房时间分别为2天 和 4天,输入房子的大小(m^3),求出他俩合作需要多少天才能拆完驴老师的养老房。
Input
The first row is an integer t, which indicates the number of data groups. In the next line, a small number n indicates the size of the pension room.
第一行一个整数t,表示数据组数。接下来一行,一个小数数n,表示养老房的大小。
Output
A total of T rows, one decimal (two decimal places reserved) in each row, represent the number of days after the old-age house is finished.
共t行,每行一个小数(保留两位小数),表示磨完养老房的天数。
Input
2
0.75
3.25
Output
1.00
4.33
Limitation
对于100%的数据t<=10;
对于100%的数据n>0;