Chef went shopping and bought items worth X rupees (1 ≤ X ≤ 100). Unfortunately, Chef only has a single 100 rupees note.

Since Chef is weak at maths, can you help Chef in calculating what money he should get back after paying 100 rupees for those items?

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

- First line will contain T, the number of test cases. Then the test cases follow.
- Each test case consists of a single line containing an integer X, the total price of items Chef purchased.

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

For each test case, output in a single line the money Chef has to receive back.

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

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

----- Sample Input 1 ------ 
3
1
25
100

----- Sample Output 1 ------ 
99
75
0

----- explanation 1 ------ 
Test case-1: Since chef paid $100$ rupees for items worth $1$ rupee. He should get back $99$ rupees.

Test case-2: Since chef paid $100$ rupees for items worth $25$ rupees. He should get back $75$ rupees.

Difficulty: EASY
Tags: Mathematics

Starter code:

Solutions:
t = int(input())
for i in range(t):
	x = int(input())
	print(100 - x)


n = int(input())
for i in range(n):
	num = int(input())
	print(100 - num)


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


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


T = int(input())
for i in range(T):
	X = int(input())
	rupees_back = 100 - X
	print(rupees_back)


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


t = int(input())
while t:
	x = int(input())
	print(100 - x)
	t -= 1


n = int(input())
for i in range(n):
	a = int(input())
	b = 100 - a
	print(b)


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


def pay(x):
	return 100 - x
t = int(input())
for i in range(1, t + 1):
	x = int(input())
	res = pay(x)
	print(res)


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


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


t = int(input(''))
counter = 0
if 1 <= t <= 100:
	while counter < t:
		moni = int(input(''))
		if 1 <= moni <= 100:
			print(100 - moni)
			counter += 1


T = int(input())
for i in range(T):
	M = int(input())
	print(100 - M)


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


import math
n = int(input())
for i in range(n):
	x = int(input())
	print(100 - x)


t = int(input())
for i in range(t):
	val = int(input())
	ans = 100 - val
	print(ans)


t = int(input())
for i in range(t):
	b = int(input())
	a = 100 - b
	print(a)


T = int(input())
for i in range(T):
	X = int(input())
	if 1 <= X and X <= 100:
		Y = 100 - X
		print(int(Y))


T = int(input())
for i in range(T):
	X = int(input())
	price = 100 - X
	print(price)


T = int(input())
for t in range(T):
	X = int(input())
	print(100 - X)


a = int(input())
for s in range(a):
	s = int(input())
	print(100 - s)


d = int(input())
for l in range(d):
	x = int(input())
	print(100 - x)


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


T = int(input())
for num in range(0, T):
	x = int(input())
	print(100 - x)


p = int(input())
for i in range(0, p):
	d = int(input())
	print(100 - d)


t = int(input())
for i in range(t):
	x = int(input())
	if x <= 100:
		print(100 - x)
	else:
		print('no')


t = int(input())
for i in range(t):
	mon = int(input())
	print(100 - mon)