A participant can make 1 submission every 30 seconds. If a contest lasts for X minutes, what is the maximum number of submissions that the participant can make during it?

It is also given that the participant cannot make any submission in the last 5 seconds of the contest.

------ Input Format ------ 

- The first line of input will contain a single integer T, denoting the number of test cases.
- Each test case consists of a single integer X, denoting the number of minutes.

------ Output Format ------ 

For each test case, output the maximum number of submissions a participant can make in X minutes.

------ Constraints ------ 

$1 ≤ T ≤ 30$
$1 ≤ X ≤ 30$

----- Sample Input 1 ------ 
4
1
2
3
4

----- Sample Output 1 ------ 
2
4
6
8

----- explanation 1 ------ 
Test case $1$: The contest lasts for $1$ minute, which is $60$ seconds. A participant can make $2$ submissions during this time — for example, in the $5$-th second and in the $48$-th second. Making $3$ or more submissions is impossible.

Test case $2$: The contest lasts for $2$ minutes, which is $120$ seconds. A participant can make $4$ submissions during this time.

Difficulty: EASY

Solutions:
a = int(input())
for i in range(a):
	b = int(input())
	print(b * 2)


t = int(input())
for i in range(t):
	x = int(input())
	print(x * 2)


t = int(input())
for i in range(t):
	x = int(input())
	x *= 60
	print(x // 30)


T = int(input())
for i in range(T):
	n = int(input())
	print(n * 2)


t = int(input())
for t in range(t):
	x = int(input())
	a = 60 * x - 5
	print(round(a / 30))


for i in range(int(input())):
	a = int(input())
	a *= 60
	print(a // 30)


for i in range(int(input())):
	print(int(input()) * 2)


for _ in range(int(input())):
	x = int(input())
	print(x * 2)


t = int(input())
for i in range(t):
	X = int(input())
	print(X * 2)


t = int(input())
for _ in range(t):
	n = int(input())
	print(n * 2)


for _ in range(int(input())):
	x = int(input())
	y = x * 60
	print(y // 30)


z = int(input())
while z != 0:
	a = int(input())
	print(2 * a)
	z -= 1


t = int(input())
for t in range(t):
	x = int(input())
	y = 60 * x
	print(y // 30)


for i in range(int(input())):
	X = int(input())
	sec = 60 * X
	count = 0
	i = 0
	while i < sec:
		if i % 30 == 0:
			count += 1
		else:
			pass
		i += 1
	print(count)


n = int(input())
for i in range(n):
	m = int(input())
	print(m * 60 // 30)


t = int(input())
for i in range(t):
	X = int(input())
	sec = X * 60
	print(sec // 30)


n = int(input())
for i in range(0, n):
	a = int(input())
	print(a * 2)


n = int(input())
for i in range(n):
	x = int(input())
	print(x * 2)


T = int(input())
for i in range(T):
	X = int(input())
	max_submissions = X * 60 // 30
	print(max_submissions)


t = int(input())
while t != 0:
	x = int(input())
	print((x * 60 - 5) // 30 + 1)
	t = t - 1


c = int(input())
for i in range(c):
	a = int(input())
	x = 60 * a
	print(int(x / 30))


t = int(input())
for i in range(t):
	a = int(input())
	print(a * 2)


n = int(input())
while n > 0:
	a = int(input())
	print(a * 2)
	n -= 1


t = int(input())
for i in range(t):
	n = int(input())
	a = n * 60
	b = a // 30
	print(b)


t = int(input())
while t:
	x = int(input())
	ans = (60 * x - 5) / 30
	print(int(ans) + 1)
	t -= 1


n = int(input(' '))
for j in range(n):
	a = int(input(' '))
	print(a * 2)


T = int(input())
for i in range(T):
	x = int(input())
	print(int(x * 60 / 30))


for i in range(int(input())):
	x = int(input())
	sec = x * 60
	sub = 30
	print(sec // sub)


for i in range(int(input())):
	x = int(input())
	print(x + x)


for i in range(int(input())):
	X = int(input())
	X_in_seconds = X * 60
	max_submissions = int(X_in_seconds / 30)
	print(max_submissions)


T = int(input())
for i in range(T):
	X = int(input())
	A = X * 60
	print(A // 30)


t = int(input())
for i in range(t):
	X = int(input())
	X = X * 60
	T = X // 30
	print(T)


n = int(input())
for i in range(n):
	x = int(input())
	a = x * 60
	print(a // 30)


T = int(input())
for i in range(T):
	X = int(input())
	print(X * 2)


for T in range(int(input())):
	x = int(input())
	print(x * 2)


t = int(input())
for i in range(t):
	z = int(input())
	print(z * 2)


test = int(input())
for i in range(test):
	x = int(input())
	print(x * 2)


t = int(input())
for i in range(0, t):
	x = int(input())
	sec = x * 60
	print(sec // 30)


T = int(input())
for i in range(0, T):
	X = int(input())
	print(X * 60 // 30)


for i in range(int(input())):
	x = int(input())
	a = x * 2
	print(a)


T = int(input())
for _ in range(T):
	a = int(input())
	print(a * 2)


for _ in range(0, int(input())):
	n = int(input())
	print(n * 60 // 30)


t = int(input())
for i in range(t):
	X = int(input())
	time = X * 60
	submission = time // 30
	print(submission)


for u in range(int(input())):
	d = int(input())
	print(d * 2)


n = int(input())
for i in range(n):
	num = int(input())
	print(int(num * 60 / 30))


T = int(input())
for i in range(T):
	X = int(input())
	totalTime = X * 60
	print(int(totalTime / 30))