Lương trước thuế

Xem dạng PDF

Gửi bài giải

Điểm: 1,00 (OI)
Giới hạn thời gian: 1.0s
Giới hạn bộ nhớ: 256M
Input: stdin
Output: stdout

Dạng bài
Ngôn ngữ cho phép
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch

ABC Company pays seasonal salary for employees. However, the company must help the employee pay income tax, so the salary the employee receives is the after-tax income. Know that the tax rate is 10%. Calculate the tax of each employee.

Input

The first line is the number of people n.

Each line in the next n lines contains an integer or real number, which is the after-tax income of one employee.

Output

Print n lines, each line is the amount of tax the company has to pay for each employee.

Example

Input
3
9
99.9
18.0
Output
1.0
11.1
2.0

Bình luận

Hãy đọc nội quy trước khi bình luận.


Không có bình luận tại thời điểm này.