Preparando MOJI

A+B?

2000ms 524288K

Description:

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.

Sample Input:

4
4+2
0+0
3+7
8+9

Sample Output:

6
0
10
17

Informação

Codeforces

Provedor Codeforces

Código CF1772A

Tags

implementation

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 10:34:49

Relacionados

Nada ainda