This page is still under construction.

Parts of this page are still being built. What you see may change.

Comma-separated A+B

Time limit1sMemory limit256 MB

Summary
Add pairs of single-digit integers given as comma-separated values for each test case.
Level

Easy1 of 10

Topics
Implementation, Math
Solved
No attempts yet

Problem

Read two integers AA and BB, then print A+BA+B.

Input

The first line contains the number of test cases TT.

Each of the next TT lines contains AA and BB. The two numbers are separated by a comma (,). (0<A,B<100 < A, B < 10)

Output

For each test case, print A+BA+B on its own line.

Examples3

  1. Example 1

    Input
    5
    1,1
    2,3
    3,4
    9,8
    5,2
    
    Expected output
    2
    5
    7
    17
    7
    
  2. Example 2

    Input
    1
    1,1
    
    Expected output
    2
    
  3. Example 3

    Input
    1
    9,9
    
    Expected output
    18