Chef's current age is 20 years, while Chefina's current age is 10 years.  
Determine Chefina's age when Chef will be X years old.

Note: Assume that Chef and Chefina were born on same day and same month (just different year).

------ 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, the age of Chef.

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

For each test case, output Chefina's age when Chef will be X years old.

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

$1 ≤ T ≤ 25$
$25 ≤ X ≤ 50$

----- Sample Input 1 ------ 
4
25
36
50
44

----- Sample Output 1 ------ 
15
26
40
34

----- explanation 1 ------ 
Test case $1$: Chefina is $10$ years old when Chef is $20$ years old. Thus, when Chef would be $25$, Chefina would be $15$.

Test case $2$: Chefina is $10$ years old when Chef is $20$ years old. Thus, when Chef would be $36$, Chefina would be $26$.

Test case $3$: Chefina is $10$ years old when Chef is $20$ years old. Thus, when Chef would be $50$, Chefina would be $40$.

Test case $4$: Chefina is $10$ years old when Chef is $20$ years old. Thus, when Chef would be $44$, Chefina would be $34$.

Difficulty: EASY
Tags: Mathematics

Starter code:

Solutions:
t = int(input())
for _ in range(t):
	x = int(input())
	print(x - 10)


t = int(input())
for i in range(t):
	x = int(input())
	print(10 + x - 20)


t = int(input())
for i in range(t):
	a = int(input())
	print(abs(10 - a))


T = int(input())
for i in range(T):
	X = int(input())
	Y = X - 10
	print(Y)


T = int(input())
for _ in range(T):
	X = int(input())
	print(X - 10)


for _ in range(int(input())):
	a = int(input())
	print(a - 10)


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


for i in range(int(input())):
	a = int(input())
	print(a - 10)


for k in range(int(input())):
	a = int(input())
	print(a - 10)


c = int(input())
for i in range(c):
	x = int(input())
	print(10 + (x - 20))


T = int(input())
while T > 0:
	chef_age = int(input())
	print(chef_age - 10)
	T = T - 1


t = int(input())
for i in range(t):
	X = int(input())
	print(X - 10)


t = int(input())
for u in range(t):
	X = int(input())
	print(X - 10)


t = int(input())
while t > 0:
	a = int(input())
	print(a - 10)
	t -= 1


a = int(input())
for i in range(a):
	x = int(input())
	y = x - 10
	print(y)


t = int(input())
for item in range(t):
	x = int(input())
	print(x - 10)


n = int(input())
for i in range(n):
	a = int(input())
	diff = a - 10
	print(diff)


T = int(input())
for i in range(T):
	X = int(input())
	Chefina_age = X - 20 + 10
	print(Chefina_age)


t = int(input())
for i in range(t):
	n = int(input())
	print(n - 10)


t = int(input())
for i in range(t):
	x = input()
	x = int(x)
	c = x - 10
	print(c)


T = int(input())
for i in range(T):
	age = int(input())
	print(age - 10)


test = int(input())
ans = []
while test:
	test = test - 1
	X = int(input())
	ans.append(X - 10)
for i in ans:
	print(i)


TC = int(input())
for i in range(TC):
	X = int(input())
	print(X - 10)


Test = int(input())
while Test > 0:
	c_age = int(input())
	print(c_age - 10)
	Test = Test - 1


x = int(input())
for i in range(x):
	a = int(input())
	b = a - 10
	print(b)


test_cases = int(input())
for i in range(test_cases):
	age = int(input())
	print(age - 10)


T = int(input())
for tc in range(T):
	x = int(input())
	print(x - 10)


for i in range(int(input())):
	print(abs(10 - int(input())))


t = int(input())

def age(t):
	x = []
	for i in range(1, t + 1):
		a = int(input())
		x.append(a)
	for num in x:
		print(num - 10)
age(t)


t = int(input())
b = 10
for i in range(t):
	x = int(input())
	print(x - b)


t = int(input())
while t > 0:
	chef_age = int(input())
	print(chef_age - 10)
	t = t - 1


t = int(input())
for loop in range(t):
	x = int(input())
	print(x - 10)


t = int(input())
for i in range(0, t):
	x = int(input())
	print(x - 10)


t = int(input())
for _ in range(t):
	n = int(input())
	print(n - 10)


n = int(input())
for _ in range(n):
	x = int(input())
	print(x - 10)


T = int(input())
while T > 0:
	n = int(input())
	print(n - 10)
	T = T - 1


t = int(input())
for i in range(t):
	s = int(input())
	print(s - 10)


t = int(input())
for i in range(t):
	x = int(input())
	chefina_age = x - 10
	print(chefina_age)


t = int(input())
for i in range(t):
	x = int(input())
	p = x - 10
	print(p)