This page is still under construction.

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

A+B until end of input

Time limit1sMemory limit256 MB

Summary
Read pairs of integers until end of input and print each pair sum on its own line.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

Write a program that reads two integers AA and BB and prints A+BA+B.

Input

The input has several test cases. Each test case is one line holding two integers AA and BB separated by a space. (0<A,B<100 < A, B < 10)

The number of test cases is not given. Read until the input ends.

Output

For each test case, print A+BA+B on its own line, in the order the cases appear in the input.

Examples5

  1. Example 1

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

    Input
    1 1
    
    Expected output
    2
  3. Example 3

    Input
    9 9
    
    Expected output
    18
  4. Example 4

    Input
    1 9
    9 1
    1 1
    9 9
    
    Expected output
    10
    10
    2
    18
  5. Example 5

    Input
    8 9
    9 8
    
    Expected output
    17
    17