This page is still under construction.

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

A+B for each test case

Time limit1sMemory limit256 MB

Summary
Add two single-digit integers per test case and print each sum as Case #x: y.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

Read two integers AA and BB and print A+BA+B. The input holds several test cases.

Input

The first line contains the number of test cases TT.

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

Output

For each test case, print one line in the form Case #x: y, where xx is the test case number starting at 1 and yy is the value of A+BA+B.

Examples4

  1. Example 1

    Input
    5
    1 1
    2 3
    3 4
    9 8
    5 2
    
    Expected output
    Case #1: 2
    Case #2: 5
    Case #3: 7
    Case #4: 17
    Case #5: 7
    
  2. Example 2

    Input
    1
    1 1
    
    Expected output
    Case #1: 2
    
  3. Example 3

    Input
    1
    9 9
    
    Expected output
    Case #1: 18
    
  4. Example 4

    Input
    12
    1 1
    2 6
    3 2
    4 7
    5 3
    6 8
    7 4
    8 9
    9 5
    1 1
    2 6
    3 2
    
    Expected output
    Case #1: 2
    Case #2: 8
    Case #3: 5
    Case #4: 11
    Case #5: 8
    Case #6: 14
    Case #7: 11
    Case #8: 17
    Case #9: 14
    Case #10: 2
    Case #11: 8
    Case #12: 5