CF1772A.A+B?

传统题 时间 2000 ms 内存 256 MiB 3 尝试 1 已通过 1 标签

A+B?

You are given an expression of the form a+ba{+}b, where aa and bb are integers from 00 to 99. You have to evaluate it and print the result.

Input

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

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

Output

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

Samples

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

在线编程 IDE

建议全屏模式获得最佳体验