Source code: | add.py |
Data file: | add.txt |
Your task is to write a program that adds pairs of integers.
Input: The input starts with line containing a single integer N, 0 < N < 30, which is the number of pairs to process. Following this are N lines, each containing two distinct integers between -100 and 100.
Output: Print one line per pair, outputting the sum of the two numbers.
Example Input: | Example Output: |
3 40 62 88 62 91 33 |
102 150 124 |