P1937 [CF1999A] A+B Again?
入门
题目描述

Given a two-digit positive integer $n$, find the sum of its digits.

Input

The first line contains an integer $t$ ($1 \leq t \leq 90$) — the number of test cases.

The only line of each test case contains a single two-digit positive integer $n$ ($10 \leq n \leq 99$).

Output

For each test case, output a single integer — the sum of the digits of $n$.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
8 77 21 40 34 19 84 10 99
样例输出
14 3 4 7 10 12 1 18