Chef recently started selling a special fruit.  
He has been selling the fruit for X rupees (X is a multiple of 100). He earns a profit of Y rupees on selling the fruit currently.  

Chef decided to increase the selling price by 10\%. Please help him calculate his new profit after the increase in selling price.

Note that only the selling price has been increased and the buying price is same.

------ 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 of input containing two space-separated integers X and Y denoting the initial selling price and the profit respectively. 

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

For each test case, output a single integer, denoting the new profit.

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

$1 ≤ T ≤ 1000$
$1 ≤ X ≤ 1000$
$1 ≤ Y ≤ 100$
$X$ is a multiple of $100$.

----- Sample Input 1 ------ 
4
100 10
200 5
500 10
100 7

----- Sample Output 1 ------ 
20
25
60
17

----- explanation 1 ------ 
Test case $1$: The buying price of the item is the difference of selling price and profit, which is $90$. The new selling price is $10\%$ more than the initial selling price. Thus, the new profit is $110-90 = 20$.

Test case $2$: The buying price of the item is the difference of selling price and profit, which is $195$. The new selling price is $10\%$ more than the initial selling price. Thus, the new profit is $220-195 = 25$.

Test case $3$: The buying price of the item is the difference of selling price and profit, which is $490$. The new selling price is $10\%$ more than the initial selling price. Thus, the new profit is $550-490 = 60$.

Test case $4$: The buying price of the item is the difference of selling price and profit, which is $93$. The new selling price is $10\%$ more than the initial selling price. Thus, the new profit is $110-93 = 17$.

Difficulty: EASY

Solutions:
t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	p = x + x * 10 // 100
	print(p - (x - y))


for i in range(int(input())):
	(a, b) = map(int, input().split())
	c = a / 10
	d = a - b
	print(int(a + c - d))


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	print(int(1.1 * x) - (x - y))


t = int(input())
for t in range(t):
	(x, y) = map(int, input().split())
	if x >= 1 and x <= 1000 and (y >= 1) and (y <= 100) and (x % 100 == 0):
		a = x + x * 10 // 100
		print(a - (x - y))


t = int(input())
for t in range(t):
	(x, y) = map(int, input().split())
	a = int(x / 10)
	b = x + a
	print(b - (x - y))


for i in range(int(input())):
	(x, y) = map(int, input().split())
	x = x / 10
	print(int(x + y))


t = int(input())
for i in range(t):
	(x, y) = [int(x) for x in input().split()]
	diff = x - y
	percent = int(x * 10 / 100)
	new_x = x + percent
	print(new_x - diff)


for _ in range(int(input())):
	(a, b) = map(int, input().split())
	x = a + a * 10 // 100
	print(x - (a - b))


r = int(input())
for i in range(r):
	(x, y) = map(int, input().split())
	n = x + x * 0.1
	u = n - (x - y)
	print(int(u))


t = int(input())
for i in range(t):
	(x, y) = [int(x) for x in input().split()]
	k = x + x // 10
	print(k - x + y)


t = int(input())
for _ in range(t):
	(a, b) = map(int, input().split())
	c = int(a / 10)
	d = a + c
	e = a - b
	f = d - e
	print(f)


test_cases = int(input())
for i in range(test_cases):
	prices = list(map(int, input().split()))
	sellingprice = prices[0] - prices[-1]
	updatedprice = prices[0] + int(0.1 * prices[0])
	print(updatedprice - sellingprice)


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	initial_profit = x - y
	selling_price = x + x // 10
	profit = selling_price - initial_profit
	print(profit)


T = int(input())
for i in range(T):
	(a, b) = map(int, input().split())
	p = a + a * 10 // 100
	print(p - (a - b))


T = int(input())
for i in range(T):
	(X, Y) = map(int, input().split())
	diff = X - Y
	new_SP = X // 10 + X
	print(new_SP - diff)


i = int(input(''))
j = 0
while j < i:
	(x, y) = map(int, input().split())
	b = x - y
	s = x + x * 0.1
	p = int(s - b)
	print(p)
	j += 1


n = int(input())
for i in range(n):
	m = input().split()
	print(int(m[0]) // 10 + int(m[1]))


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split(' '))
	cp = x + x * 10 // 100
	sp = cp - (x - y)
	print(sp)


n = int(input())
for i in range(n):
	(x, y) = map(int, input().split())
	actual_price = x - y
	m = x * (10 / 100)
	print(int(x + m - actual_price))


T = int(input())
for i in range(T):
	(X, Y) = map(int, input().split())
	dif_sell_price = X - Y
	sum = X * 1.1
	new_profit = sum - dif_sell_price
	r_new_profit = int(new_profit)
	print(r_new_profit)


n = int(input())
for i in range(0, n):
	(a, b) = map(int, input().split(' '))
	print(int(a * 1 / 10 + b))


a = int(input())
while a != 0:
	(x, y) = map(int, input().split())
	z = x / 10
	print(int(x + z - (x - y)))
	a -= 1


t = int(input())
for i in range(t):
	(sp, p) = map(int, input().split())
	bp = sp - p
	a = sp / 10
	b = a + sp
	np = b - bp
	print(int(np))


t = int(input())
while t != 0:
	(a, b) = map(int, input().split())
	d = a - b
	n = a + a // 10
	print(n - d)
	t = t - 1


C = int(input())
for i in range(0, C):
	(X, Y) = map(int, input().split())
	z = X * 10 // 100
	print(z + Y)


t = int(input())
for i in range(t):
	(X, Y) = map(int, input().split())
	d = X * 10 // 100
	print(d + Y)


import math
t = int(input())
for i in range(t):
	(X, Y) = list(map(int, input().split()))
	a = X - Y
	b = X * 0.1 + X
	c = math.ceil(b - a)
	print(c)


t = int(input())
while t:
	(x, y) = map(int, input().split())
	print(int(x * 0.1 + y))
	t -= 1


n = int(input())
for i in range(n):
	(a, b) = map(int, input().split())
	o = a - b
	a = a + a * 10 / 100
	print(int(a - o))


t = int(input())
for i in range(t):
	(n, m) = map(int, input().split())
	print(n // 10 + n - (n - m))


t = int(input())
for i in range(t):
	(X, Y) = map(int, input().split())
	buy_price = X - Y
	new_sell = X + 0.1 * X
	print(int(new_sell - buy_price))


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	b = x - y
	s = x * 10 // 100 + x
	print(s - b)


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	d = x - y
	e = x // 10
	f = x + e
	print(f - d)


T = int(input())
for i in range(T):
	(X, Y) = map(int, input().split())
	m = X * 10 // 100 + Y
	print(m)


t = int(input())
for i in range(t):
	(a, b) = map(int, input().split())
	n = a + a // 10
	d = a - b
	e = n - d
	print(e)


t = int(input())
for i in range(t):
	(x, y) = list(map(int, input().split()))
	et = x * 10 // 100 + y
	print(et)


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	b = x - y
	m = x // 10
	p = m + x - b
	print(p)


T = int(input())
for i in range(T):
	(X, Y) = map(int, input().split())
	selling_price = X + X // 10
	cos_price = X - Y
	print(selling_price - cos_price)


a = int(input())
for i in range(0, a):
	(x, y) = map(int, input().split())
	bp = x - y
	sp = x + x * 10 / 100
	p = sp - bp
	print(int(p))


a = int(input())
for i in range(a):
	(x, y) = map(int, input().split())
	l = int(x / 10)
	m = x + l
	print(m - (x - y))


for i in range(int(input())):
	(x, y) = map(int, input().split())
	a = x - y
	p = x + x // 10
	print(abs(p - a))


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	a = int(x * (1 / 10))
	b = x + a
	c = x - y
	print(b - c)


for i in range(int(input())):
	(X, Y) = map(int, input().split())
	new_profit = Y + 0.1 * X
	print(int(new_profit))


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	d = x - y
	new = 10 * x // 100
	e = new + x
	total = e - d
	print(total)


T = int(input())
for i in range(T):
	(X, Y) = map(int, input().split())
	A = X / 100
	B = A * 10
	print(round(B + Y))


T = int(input())
for _ in range(T):
	(x, y) = map(int, input().split())
	BP = x - y
	new_SP = x + x // 10
	print(new_SP - BP)


t = int(input())
for i in range(t):
	(x, y) = input().split()
	(x, y) = (int(x), int(y))
	selling = x * 1.1
	buying = x - y
	profit = selling - buying
	print(int(profit))


for _ in range(int(input())):
	(x, y) = map(int, input().split())
	print(x + x // 10 - (x - y))


t = int(input())
for h in range(t):
	(x, y) = map(int, input().split())
	print(x // 10 + y)


n = int(input())
for i in range(n):
	(x, y) = map(int, input().split())
	bp = x - y
	nsp = x / 10
	nsp1 = x + nsp
	profit = nsp1 - bp
	print(int(profit))


n = int(input())
while n > 0:
	(a, b) = map(int, input().split())
	c = a - b
	d = a * 10 // 100
	e = a + d
	print(e - c)
	n -= 1


T = int(input())
for i in range(0, T):
	(X, Y) = map(int, input().split())
	print(X // 10 + Y)


t = int(input())
for i in range(t):
	(x, y) = list(map(int, input().split()))
	bp = x - y
	nsp = x + 10 * x // 100
	np = nsp - bp
	print(np)


for i in range(int(input())):
	(x, y) = map(int, input().split())
	c = x + x // 10
	d = x - y
	e = c - d
	print(e)


t = int(input())
for i in range(t):
	(x, y) = map(int, input().split())
	k = x - y
	l = x // 100 * 10
	m = x + l
	print(m - k)


t = int(input())
for i in range(t):
	(sp, p) = map(int, input().split())
	bp = sp - p
	sp = sp + sp * (10 / 100)
	p = sp - bp
	print(int(p))


n = int(input())
for i in range(n):
	(a, b) = list(map(int, input().split()))
	per = 10 * a // 100 + a
	print(per - (a - b))


a = int(input())
for i in range(a):
	(b, c) = map(int, input().split())
	d = b - c
	e = b + b * 0.1
	f = e - d
	f = int(f)
	print(f)


x = int(input())
for i in range(x):
	(a, b) = map(int, input().split())
	profit = a - b
	z = a * 10 // 100
	new_selling_price = a + z
	new_profit = new_selling_price - profit
	print(new_profit)


for i in range(int(input())):
	(a, b) = map(int, input().split())
	p = a - b
	q = a * 0.1
	x = a + q - p
	print(int(x))


for _ in range(int(input())):
	(x, y) = map(int, input().split())
	print(int(1.1 * x) - (x - y))


for i in range(int(input())):
	x = [int(x) for x in input().split()]
	print(int(x[0] * 11 / 10 - (x[0] - x[1])))