In Chefland, a tax of rupees 10 is deducted if the total income is strictly greater than rupees 100. 

Given that total income is X rupees, find out how much money you get.

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

- The first line of input will contain a single integer T, denoting the number of test cases.
- The first and only line of each test case contains a single integer X — your total income.

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

For each test case, output on a new line, the amount of money you get.

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

$1 ≤ T ≤ 100$
$1 ≤ X ≤ 1000$

----- Sample Input 1 ------ 
4
5
105
101
100

----- Sample Output 1 ------ 
5
95
91
100
----- explanation 1 ------ 
Test case $1$: Your total income is $5$ rupees which is less than $100$ rupees. Thus, no tax would be deducted and you get $5$ rupees.

Test case $2$: Your total income is $105$ rupees which is greater than $100$ rupees. Thus, a tax of $10$ rupees would be deducted and you get $105-10 = 95$ rupees.

Test case $3$: Your total income is $101$ rupees which is greater than $100$ rupees. Thus, a tax of $10$ rupees would be deducted and you get $101-10 = 91$ rupees.

Test case $4$: Your total income is $100$ rupees which is equal to $100$ rupees. Thus, no tax would be deducted and you get $100$ rupees.

Source: codechef | Difficulty: EASY
Tags: Mathematics


Solutions:
t = int(input())
for u in range(t):
	X = int(input())
	if X > 100:
		print(X - 10)
	else:
		print(X)


T = int(input())
for i in range(T):
	X = int(input())
	if X > 100:
		print(X - 10)
	else:
		print(X)


for i in range(int(input())):
	x = int(input())
	if x > 100:
		print(x - 10)
	else:
		print(x)


for i in range(int(input())):
	a = int(input())
	if a > 100:
		print(a - 10)
	else:
		print(a)


t = int(input())
for _ in range(t):
	x = int(input())
	if x > 100:
		print(x - 10)
	else:
		print(x)


for _ in range(int(input())):
	X = int(input())
	if X > 100:
		print(X - 10)
	else:
		print(X)


n = int(input())
for i in range(n):
	k = int(input())
	if k > 100:
		k = k - 10
	print(k)


c = int(input())
for i in range(c):
	q = int(input())
	if q > 100:
		print(q - 10)
	else:
		print(q)


for _ in range(int(input())):
	n = int(input())
	if n > 100:
		print(n - 10)
	else:
		print(n)


for i in range(int(input())):
	n = int(input())
	if n > 100:
		print(n - 10)
	else:
		print(n)


test_case = int(input())
for i in range(0, test_case):
	X = int(input())
	if X > 100:
		print(X - 10)
	else:
		print(X)


t = int(input())
while t >= 1:
	x = int(input())
	print(x - 10) if x > 100 else print(x)
	t -= 1


s = int(input())
for i in range(s):
	t = int(input())
	if t <= 100:
		print(t)
	else:
		print(t - 10)


T = int(input())
for t in range(T):
	t_inc = int(input())
	if t_inc > 100:
		print(t_inc - 10)
	else:
		print(t_inc)


def cal(tax):
	if tax > 100:
		return tax - 10
	else:
		return tax
a = int(input())
for i in range(a):
	tax = int(input())
	amt = cal(tax)
	print(amt)


for _ in range(int(input())):
	a = int(input())
	if a > 100:
		print(a - 10)
	else:
		print(a)


t = int(input())
res = []
for i in range(t):
	x = int(input())
	if x <= 100:
		res.append(x)
	else:
		res.append(x - 10)
for ele in res:
	print(ele)


t = int(input())
for i in range(t):
	total_income = int(input())
	if total_income > 100:
		money = total_income - 10
	else:
		money = total_income
	print(money)


t = int(input())

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


def calculate_income(income):
	if income > 100:
		income -= 10
	return income
t = int(input())
for i in range(t):
	income = int(input())
	net_income = calculate_income(income)
	print(net_income)


for _ in range(int(input())):
	A = int(input())
	if A > 100:
		print(A - 10)
	else:
		print(A)


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


income = int(input())
for i in range(income):
	b = int(input())
	if b <= 100:
		print(b)
	else:
		print(b - 10)


test_cases = int(input())
for i in range(test_cases):
	num = int(input())
	if num > 100:
		print(num - 10)
	else:
		print(num)


l = []
n = int(input())
for i in range(n):
	x = int(input())
	if x <= 100:
		l.append(x)
	else:
		l.append(x - 10)
print(*l, sep='\n')


for i in range(int(input())):
	x = int(input())
	if x <= 100:
		print(x)
	elif x > 100:
		y = x - 10
		print(y)


test = int(input())
ans = []
while test:
	test = test - 1
	income = int(input())
	if income > 100:
		ans.append(income - 10)
	else:
		ans.append(income)
for i in ans:
	print(i)