Problem Statement:

EIII Extra programming contest is coming soon, there are N students who want to participate in this contest, the cost of registering a team is 20 JDs, a team can hold 1, 2 or 3 members.

As a staff member from your university, you are asked to form the teams such that all N contestants can participate in a team with the minimum cost.

Input Format:

The first line of input contains an integer T, the number of test cases.

Each of the following T lines contains an integer N (1 ≤ N ≤ 10^{9}), the number of students.

Output Format:

For each test case, print a line with the minimum cost to form the teams.

Sample Input:

3
2
6
12

Sample Output:

20
40
80