Submit | All submissions | Best solutions | Back to list |
BANKROBB - Bank Robbers |
You are a Police Officer from Colombia. Today, there's a bank robbery going on. You would like to help, of course, but first you need to know how many criminals there are. You heard through the Police Radio System that there are n criminals inside the bank, and m criminals waiting for them outside the bank. You need to calculate the total number of criminals. As everybody in Colombia knows, policemen are not the brightest people on Earth, so even this is difficult for them.
Write a computer program that calculates the total number of criminals.
Input
The input consists of several test cases.
Each test case is described as two integers n and m on a single line separated by one or more spaces (1 <= n, m <= 1000).
Output
For each test case, write the total number of criminals on a single line.
Example
Input: 1 2 7 3 12 25 Output: 3 10 37
Added by: | Andrés Mejía-Posada |
Date: | 2012-03-12 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |
Resource: | Introduction to Programming Course, EAFIT University |