You are given an expression of the form $a{+}b$, where $a$ and $b$ are integers from $0$ to $9$. You have to evaluate it and print the result.


-----Input-----

The first line contains one integer $t$ ($1 \le t \le 100$) — the number of test cases.

Each test case consists of one line containing an expression of the form $a{+}b$ ($0 \le a, b \le 9$, both $a$ and $b$ are integers). The integers are not separated from the $+$ sign.


-----Output-----

For each test case, print one integer — the result of the expression.


-----Examples-----

Input
4
4+2
0+0
3+7
8+9
Output
6
0
10
17


-----Note-----

None

Difficulty: EASY
Tags: Implementation

Starter code:

Solutions:
for _ in range(int(input())):
	xin = input()
	xan = int(xin[0])
	zin = int(xin[2])
	print(xan + zin)


t = int(input())
for i in range(t):
	a = input()
	print(int(a[0]) + int(a[2]))


t = int(input())
for _ in range(t):
	s = input()
	a = int(s[0])
	b = int(s[2])
	print(a + b)


test = int(input())
while test:
	a = input()
	temp = a.split('+')
	print(int(temp[0]) + int(temp[-1]))
	test -= 1


t = int(input())
while t:
	t -= 1
	val = input()
	print(eval(val))


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


for j in range(int(input())):
	s = input()
	x = int(s[0])
	y = int(s[2])
	print(x + y)


t = int(input())
while t > 0:
	t -= 1
	s = input()
	print(eval(s))


list = [*open(0)]
for a in list[1:]:
	print(eval(a))


a = int(input())
for i in range(a):
	n = input()
	n1 = int(n[0])
	n2 = int(n[-1])
	print(n1 + n2)


for _ in range(int(input())):
	print(eval(input()))


for s in [*open(0)][1:]:
	print(eval(s))


test = int(input())
out = []
for i in range(test):
	sum = 0
	x = list(str(input()))
	sum = int(x[0]) + int(x[2])
	out.append(sum)
for j in out:
	print(j)


t = int(input())
for i in range(t):
	(a, b) = map(int, input().split('+'))
	print(a + b)


n = int(input())
for i in range(n):
	s = input()
	print(int(s[0]) + int(s[-1]))


n = int(input())
for i in range(n):
	s = str(input())
	x = int(s[0]) + int(s[2])
	print(x)


t = int(input())
box = []
for i in range(t):
	l = input().split('+')
	a = int(l[0])
	b = int(l[1])
	x = a + b
	box.append(x)
for i in box:
	print(i)


n = int(input())
lst = []
for i in range(0, n):
	string = input()
	lst.append(eval(string))
for i in range(0, n):
	print(lst[i])


n = int(input())
li = [0 for i in range(n)]
for i in range(n):
	(a, b) = map(int, input().split('+'))
	li[i] = a + b
for i in range(n):
	print(li[i])


n = int(input())
for i in range(n):
	expression = input()
	result = eval(expression)
	print(result)


n = int(input())
while n != 0:
	s = [*str(input())]
	print(int(s[0]) + int(s[2]))
	n -= 1


n = int(input())
for i in range(n):
	stri = str(input())
	a = int(stri[0])
	b = int(stri[2])
	s = a + b
	print(s)


for t in range(int(input())):
	s = input()
	print(int(s[0]) + int(s[2]))


t = int(input())
for _ in range(t):
	(a, b) = map(int, input().split('+'))
	print(a + b)


for _ in range(int(input())):
	exp = input()
	print(int(exp[0]) + int(exp[2]))


def summary():
	n = int(input())
	for _ in range(n):
		x = input()
		print(eval(x))
summary()


t = int(input())
for i in range(1, t + 1):
	s = input()
	print(eval(s))


def read():
	return list(map(int, input().split()))

def solve():
	print(eval(input()))
t = int(input())
for i in range(t):
	solve()


for i in range(int(input())):
	s = input()
	s.split()
	print(int(s[0]) + int(s[2]))


t = int(input())
for _ in range(t):
	s = input()
	l = list()
	for i in range(len(s)):
		if s[i] == '+':
			continue
		else:
			l.append(int(s[i]))
	print(sum(l))


t = int(input())
for i in range(t):
	l = input()
	print(int(l[0]) + int(l[2]))


out = []
for i in range(0, int(input())):
	j = input().split('+')
	out.append(int(j[0]) + int(j[1]))
for i in out:
	print(i)


for i in range(int(input())):
	j = list(map(int, input().split('+')))
	print(j[0] + j[1])


n = int(input())
for i in range(n):
	curr = input().split('+')
	print(int(curr[0]) + int(curr[1]))


t = int(input())
for _ in range(t):
	(n1, n2) = map(int, input().split('+'))
	print(n1 + n2)


test = int(input())
while test:
	s = input()
	print(eval(s))
	test -= 1


n = int(input())
for _ in range(n):
	line = input()
	print(eval(line))


n = int(input())
for i in range(n):
	s = input()
	a = s[0:s.find('+')]
	b = s[s.find('+') + 1:len(s)]
	print(int(a) + int(b))


t = int(input())
for _ in range(t):
	s = input()
	(a, b) = s.split(sep='+')
	a = int(a)
	b = int(b)
	print(a + b)


import sys
t = int(sys.stdin.readline())
for _ in range(t):
	print(eval(sys.stdin.readline().strip()))


for i in range(int(input())):
	s = input()
	eval('print(' + s + ')')


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


T = int(input())
for _ in range(T):
	s = input()
	print(int(s[0]) + int(s[2]))


t = int(input())
for x in range(t):
	p = input()
	k = p.split('+')
	print(int(k[0]) + int(k[1]))


n = int(input())
for k in range(n):
	print(eval(input()))


for _ in range(int(input())):
	k = input()
	a = int(k[0])
	b = int(k[2])
	print(a + b)


t = int(input())
for i in range(t):
	s = input().split('+')
	print(int(s[0]) + int(s[1]))


for i in range(int(input())):
	l = input()
	print(eval(l))


for i in range(int(input())):
	lst = list(map(str, input().split('+')))
	print(int(lst[0]) + int(lst[1]))


T = int(input())
while T > 0:
	T -= 1
	(a, b) = map(int, input().split('+'))
	print(a + b)


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


def solve(string):
	ans = 0
	for i in string:
		if i != '+':
			ans += int(i)
	print(ans)
for _ in range(int(input())):
	string = str(input())
	solve(string)


t = int(input())
for _ in range(t):
	a = input()
	n = int(a[0])
	m = int(a[2])
	print(n + m)


for _ in range(int(input())):
	s = input()
	a = int(s[0])
	b = int(s[-1])
	print(a + b)


t = int(input())
for i in range(t):
	s = input()
	f = int(s[0])
	last = int(s[-1])
	print(f + last)


t = int(input())
while t != 0:
	s = input()
	l = []
	for i in s:
		if i.isdigit():
			l.append(int(i))
	s = sum(l)
	print(s)
	t -= 1


t = int(input())
for i in range(t):
	a = input()
	ans = eval(a)
	print(ans)


for _ in range(int(input())):
	seq = input()
	a = int(seq[0])
	b = int(seq[-1])
	print(a + b)


t = int(input())
for i in range(t):
	s = input()
	p = '0123456789'
	ans = 0
	for j in s:
		if j in p:
			ans += int(j)
	print(ans)


t = int(input())
for _ in range(t):
	s = str(input()).split('+')
	print(int(s[0]) + int(s[1]))


t = int(input())
for i in range(0, t):
	(a, b) = input().split('+')
	a = int(a)
	b = int(b)
	print(a + b)


t = int(input())
i = 0
while i < t:
	s = input()
	print(int(s[0]) + int(s[2]))
	i += 1


import sys

def solve():
	inp = sys.stdin.readline
	a = inp()
	print(int(a[0]) + int(a[2]))

def main():
	for i in range(int(sys.stdin.readline())):
		solve()
main()


n = int(input())
for _ in range(n):
	e = input()
	a = e.split('+')
	print(int(a[0]) + int(a[1]))


for _ in range(int(input())):
	s = str(input())
	print(int(s[0]) + int(s[2]))


i = int(input())
for a in range(i):
	s = input()
	print(int(s[0]) + int(s[2]))


for _ in range(int(input())):
	print(sum([int(i) for i in input().split('+')]))


n = int(input())
for i in range(n):
	s = input()
	print(int(s[0]) + int(s[2]))


for _ in range(int(input())):
	a = input()
	print(int(a[0]) + int(a[-1]))


tc = int(input())
for i in range(tc):
	print(eval(input()))


T = int(input())
while T > 0:
	T -= 1
	s = input().split('+')
	print(int(s[0]) + int(s[1]))


t = int(input())
for _ in range(t):
	(a, _, b) = list(input())
	print(int(a) + int(b))


n = int(input())
for i in range(n):
	S = ''
	S = input()
	x = int(S[0])
	y = int(S[2])
	if S[1] == '+':
		f = x + y
	elif S[1] == '-':
		f = x - y
	print(f)