Classical ACM/ICPC Problem

one test case is easy, how to support multi- test cases?

ex.

1
2
3
4
5
6
7
# Input
1 2
2 4

# Output
3
6

in python 2.x

1
from __future__ import print_function; import sys; map(lambda x: print(sum(x)), [map(int, line.split()) for line in sys.stdin]);

You can test it on the Online Judge. :)