Given a number, find the sum of its digits.
If the number is represented as d1d2d3d4d5, then the sum will be d1 + d2 + d3 + d4 + d5.
The first line contains T denoting the no. of test cases
Next T lines each containing a number
For each test, a line with sum of digits of the number.
2
13246
12212
16
8
13246 → 1 + 3 + 2 + 4 + 6 = 16
12212 → 1 + 2 + 2 + 1 + 2 = 8