测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A15623. A+B?

编程题 普及/提高-

题目描述

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.

输入格式

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.

输出格式

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

输入输出样例

输入 #1
4
4+2
0+0
3+7
8+9
输出 #1
6
0
10
17
上一题 去做题 下一题