Chef has recently started playing chess, and wants to play as many games as possible. 

He calculated that playing one game of chess takes at least 20 minutes of his time.

Chef has N hours of free time. What is the maximum number of complete chess games he can play in that time?

------ 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 line containing a single integer, N.

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

For each test case, output on a new line the maximum number of complete chess games Chef can play in N hours.

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

$1 ≤ T ≤ 10$
$1 ≤ N ≤ 10$

----- Sample Input 1 ------ 
4
1
10
7
3

----- Sample Output 1 ------ 
3
30
21
9

----- explanation 1 ------ 
Test case $1$: If every game Chef plays takes $20$ minutes, he can play $3$ games in one hour.

Test case $2$: If every game Chef plays takes $20$ minutes, he can play $30$ games in $10$ hours.

Test case $3$: If every game Chef plays takes $20$ minutes, he can play $21$ games in $7$ hours.

Test case $4$: If every game Chef plays takes $20$ minutes, he can play $9$ games in $3$ hours.

Difficulty: EASY
Tags: Mathematics

Starter code:

Solutions:
c = int(input())
for i in range(c):
	n = int(input())
	print(n * 60 // 20)


T = int(input())
for i in range(T):
	n = int(input())
	print(n * 60 // 20)


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


t = int(input())
for i in range(t):
	n = int(input())
	nh = n * 60
	print(int(nh / 20))


t = int(input())
for i in range(0, t):
	n = int(input())
	n = n * 60
	print(n // 20)


t = int(input())
for i in range(t):
	N = int(input())
	M = N * 60
	print(M // 20)


t = int(input())
for _ in range(t):
	h = int(input())
	print(h * 3)


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


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


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


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


test = int(input())
ans = []
while test:
	test = test - 1
	N = int(input())
	ans.append(N * 60 // 20)
for i in ans:
	print(i)


t = int(input())
while t > 0:
	x = int(input())
	print(x * 3)
	t = t - 1


t = int(input())
for i in range(t):
	l = int(input())
	time = l * 60
	result = int(time / 20)
	print(result)


t = int(input())
for i in range(t):
	N = int(input())
	A = 60 * N // 20
	print(A)


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


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


T = int(input())
for CRICKETER in range(T):
	N = int(input())
	if N:
		CHESS = N * 3
		print(CHESS)


for _ in range(int(input())):
	a = int(input())
	print(a * 60 // 20)


T = int(input())
for i in range(T):
	N = int(input())
	print(N * 60 // 20)


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


from math import floor
t = int(input())
for i in range(t):
	n = int(input())
	print(floor(n * 60 / 20))


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


test_cases = int(input())
for i in range(test_cases):
	time = int(input()) * 60
	print(time // 20)


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


t = int(input())
for i in range(t):
	N = int(input())
	time = N * 60
	game = time // 20
	print(game)


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


n = int(input())
for i in range(0, n):
	a = int(input())
	b = int(a * 60 / 20)
	print(b)


t = int(input())
for i in range(t):
	n = int(input())
	games = n * 60 / 20
	print(int(games))


T = int(input())
for i in range(T):
	N = int(input())
	c = N * 3
	print(c)


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


for t in range(int(input())):
	n = int(input())
	print(n * 60 // 20)


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


n = int(input())
while n > 0:
	m = int(input())
	m = m * 60
	k = int(m // 20)
	print(k)
	n -= 1


t = int(input())
for n in range(0, t):
	i = int(input())
	print(i * 3)


T = int(input())
for t in range(T):
	N = int(input())
	n = 60 * N
	m = 3 * N
	print(m)


T = int(input())
for _ in range(T):
	n = int(input())
	print(int(n * 60 / 20))


t = int(input())
for i in range(t):
	n = int(input())
	hour = n * 60
	print(round(hour / 20))


a = int(input())
for i in range(a):
	s = int(input())
	h = s * 60
	print(h // 20)


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


t = int(input())
for ts in range(t):
	x = int(input())
	print(int(x * 60 / 20))


cases = int(input())
for case in range(cases):
	x = int(input())
	print(int(x * 60 / 20))


t = int(input())
while t:
	n = int(input())
	print(3 * n)
	t -= 1


A = []
for i in range(int(input())):
	N = int(input())
	A.append(int(N * 60 / 20))
for j in A:
	print(j)


t = int(input())
for i in range(t):
	n = int(input())
	ans = n * 60 // 20
	print(ans)


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


n = int(input())
for i in range(0, n):
	x = int(input())
	y = x * 60
	z = y // 20
	print(z)