Problem:
A + B Problem Compute A + B. Input The input will consist of a series of pairs of integers A and B separated by a space, one pair of integers per line. The input will be terminated by EOF. Output For each pair of input integers A and B, you must output the sum of A and B in one line. Constraints  -1000 ≤ A, B ≤ 1000  Sample Input 1 2
10 5
100 20 Output for the Sample Input 3
15
120 Sample Program    #include<stdio.h>

int main(){
    int a, b;
    while( scanf("%d %d", &a, &b) != EOF ){
        printf("%d\n", a + b);
    }
    return 0;
}

Solution (Python):
import sys

for line in sys.stdin:
    line = line.split(' ')
    print(sum(map(int, line)))

Solution (Python):
def run(infile,outfile):
	for line in infile.readlines():
		print >> outfile,sum(map(int,line.rstrip().split()))

if __name__ == "__main__":
	import sys
	run(sys.stdin, sys.stdout)

Solution (Python):



def main():
    
    input = []
    while(True):
        try:
            input_list = list2int(raw_input().split())
            input.append(input_list)
        except EOFError:
            break

    for x in input:
        print(sum(x))


def list2int(list):
    return [int(x) for x in list]

if __name__=='__main__':
    main()

Solution (Python):
while True:
    try:
        print sum(map(int,raw_input().split()))
    except EOFError:
        break

Solution (Python):
import sys

for line in sys.stdin:
 print(sum(map(int,line.split())))

Solution (Python):
import sys
for line in sys.stdin.readlines():
	data=line.split()
	
	print(eval(data[0]+"+"+data[1]))

Solution (Python):
import sys
for line in sys.stdin.readlines():
	data=line.split()
	print(int(data[0])+int(data[1]))

Solution (Python):
while True:
	try:
		x,y=map(int,input().split())
		print(x+y)
	except EOFError:
		break

Solution (Python):
import sys
l = []
for line in sys.stdin:
    l.append(line)

for i in range(len(l)):
    numl = l[i].split(' ')
    a = int(numl[0])
    b = int(numl[1])
    sum = a + b
    print(sum)

Solution (Python):
import sys

for line in sys.stdin:
    a, b = map(int, line.split())
    print(a + b)

Solution (Python):
import sys
for i in sys.stdin:
    a,b = map(int, i.split())
    print(a+b)

Solution (Python):
out=[]
while True:
	try:
		k=list(map(int,input().split(" ")))
	except:
		break

	out.append(k[0]+k[1])

for i in out:
	print(i)

Solution (Python):
while True:
  try:
    a, b = map(int, raw_input().split(' '))

  except EOFError:
    break

  print a + b

Solution (Python):
import sys
score = []
for line in sys.stdin: 
    (a, b) = map(int, line.strip().split())
    score.append(a + b)
for i in score:
    print i

Solution (Python):
ans=""
while True:
	try:
		info=input()
	except:
		break
	if ans!="":
		ans+="\n"
	info_2=info.split()
	ans+=str(int(info_2[0])+int(info_2[1]))
print(ans)

Solution (Python):
while True:
    try:
        print(sum(list(map(int,input().split()))))
    except:
        break

Solution (Python):
while True:
    try:
        a=raw_input().split()
        print int(a[0]) + int(a[1])
    except:
        break

Solution (Python):
import sys

for line in sys.stdin:
    line = [int(n) for n in line.strip().split()]
    print(sum(line))

Solution (Python):
import sys

for line in sys.stdin:
    nums = [int(_) for _ in line.split()]
    print(sum(nums))

Solution (Python):
import sys
for line in sys.stdin:
  a, b = [int(x) for x in line.split()]
  print(a + b)

Solution (Python):
import sys

su = 0
for line in sys.stdin:
   for x in line.split():
      su += int(x)
   print(su)
   su = 0

Solution (Python):
import sys

for line in sys.stdin:
    l = line.split()
    print(int(l[0]) + int(l[1]))

Solution (Python):
import time,sys
start=time.time()
while time.time()-start<=4:pass
for input in sys.stdin:print(sum(map(int,input.split())))

Solution (Python):
import time,sys
start=time.time()
while time.time()-start<=4.9:pass
for input in sys.stdin:print(sum(map(int,input.split())))

Solution (Python):
import time,sys
start=time.time()
while time.time()-start<=4.97:pass
for input in sys.stdin:print(sum(map(int,input.split())))

Solution (Python):
import time,sys
start=time.time()
while time.time()-start<=4.977:pass
for input in sys.stdin:print(sum(map(int,input.split())))

Solution (Python):
import time,sys
start=time.time()
while time.time()-start<=4.9775:pass
for input in sys.stdin:print(sum(map(int,input.split())))

Solution (Python):
import time,sys
s=time.time()
while time.time()-s<=4.9775:pass
for i in sys.stdin:print(sum(map(int,i.split())))

Solution (Python):
while True:
    try:
        a,b = map(int,input().split())
        print(a + b)
    except EOFError:
        break

Solution (Python):
while True:
    try:
        a, b = list(map(int,input().split()))
    except EOFError:
        break
    print(a+b)

Solution (Python):
while 1:
    try:
        n,m=map(int,input().split())
    except EOFError:
        break
    print(n+m)

Solution (Python):
import sys
for l in sys.stdin:
    print(sum(map(int,l.split())))

Solution (Python):
while True:
    try:
        print(sum(map(int, input().split())))
    except:
        break

Solution (Python):
while True:
    try:
        a,b = map(int,input().split())
        print(a+b)
    except EOFError:
        break

Solution (Python):
import sys

for line in sys.stdin:
    a, b = map(int, line.split())
    print(a+b)

Solution (Python):
try:
    while True:
        a, b = [int(x) for x in input().split(' ')]
        print(a+b)
except EOFError:
    pass

Solution (Python):
import sys
val = []
result = [] 
count = 0

for line in sys.stdin:
    if line != '\n':
        for word in line.split():
            val.append(int(word))
        result.append(sum(val))
        val = []
        count = count + 1
    else:
        break

for x in result:
    print(x)

Solution (Python):
import sys
for s in sys.stdin:
    A, B = map(int, s.split())
    print(A + B)

Solution (Python):
import sys

answers = []
for line in sys.stdin:
    a,b = list(map(int,line.split()))
    answers.append(a+b)

for a in answers:
    print(a)

Solution (Python):
while True:
	try:
		inpt = map(int, raw_input().split())
		print inpt[0] + inpt[1]
	except:
		break

Solution (Python):


while 1:
    try:
     n=list(map(int,input().split()))
     print(n[0]+n[1])
    except EOFError:
        break

Solution (Python):


hasContinuousQuestion = True
while hasContinuousQuestion:
    try:
        valueA, valueB = list(map(int, input().split(" ")))
        print("{0}".format(valueA + valueB))
    except:
        hasContinuousQuestion = False

Solution (Python):
while True:
    try:
        a = map(int, input().split())
        print(sum(a))
    except EOFError:
        break

Solution (Python):
while True:
	try:
		print(sum([eval(x) for x in input().split()]))
	except EOFError:
		break

Solution (Python):



import sys

def main():
    for line in sys.stdin:
        a, b = map(int, line.split())
        print(a+b)

if __name__ == "__main__": main()

Solution (Python):
import sys
for line in sys.stdin:
    items = line.split()
    print( int(items[0]) + int(items[1]) )

Solution (Python):
try:
 while True:
  a,b=map(int,input().split())
  print(a+b)
except EOFError:
  pass

Solution (Python):
while True:
    try:
        a, b = map(int, input().split())
        print(a+b)
    except:
        break

Solution (Python):
while True:
    try:
        print(sum(map(int, input().split())))
    except:
        break

Solution (Python):
while (1):
	try:
		a, b = map(int,input().split())
	except:
		break
	
	print(a+b)

Solution (Python):
while True:
    try:
        print(sum(map(int, input().split())))
    except:
        break

Solution (Python):
import sys
line = sys.stdin.readlines()
top = [0,0,0]
for i in range(len(line)):
    line[i] = list(map(int, line[i].rstrip("\n").split(" ")))
    print(line[i][0]+line[i][1])

Solution (Python):
while True:
	try:
		a,b = map(int,input().split())
		print(a+b)
	except EOFError:
		break

Solution (Python):
while True:
   try:
      x, y = input().split()
      print(int(x)+int(y))
   except:
      break

Solution (Python):
from sys import stdin
Ans = []
for i in stdin:
    A,B = [int(po) for po in i.split()]
    Ans.append(A+B)
for k in Ans:
    print(k)

Solution (Python):

import sys
for line in sys.stdin:
    num = map(int, line.split())
    print sum(num)

Solution (Python):
try:
    while True:
          a,b=map(int,raw_input().split())
          print (a+b)

except:
    None

Solution (Python):
while True:
    try:
        print(sum(map(int, input().split())))
    except:
        break

Solution (Python):
while True:
    try:
        s=input()
        a  = s.split(' ')
        print(int(a[0]) + int(a[1]))
        
    except EOFError:
        break

Solution (Python):
import sys

l = []
for i in sys.stdin:
    l.append(i.split())

for data in l:
    print(int(data[0]) + int(data[1]))

Solution (Python):
import sys
for line in sys.stdin:
    if line == None or line == '/n':
        break
    a,b = line.split(" ")
    print( int(a) + int(b) )

Solution (Python):
while True:
    try:
        A = list(map(int,input().split()))
        print(A[0]+A[1])
    except EOFError:
        break

Solution (Python):
import math

def get_input():
    while True:
        try:
            yield ''.join(input())
        except EOFError:
            break

N = list(get_input())
for l in range(len(N)):
    a,b = [int(i) for i in N[l].split()]
    print(a+b)

Solution (Python):
import sys
for l in sys.stdin:
    a,b=list(map(int,l[:-1].split()))
    print(a+b)

Solution (Python):
while True:
  try:
    print(sum(map(int, input().split())))
  except EOFError:
    break

Solution (Python):



while True:
	try: print(sum(map(int, input().split())))
	except: break

Solution (Python):
while True:
 try:
  a = map(int,raw_input().split())
  print a[0]+a[1]
 except EOFError:
   break

Solution (Python):
while True:
 try:
  a = map(int,raw_input().split())
  a,b = a[0],a[1]
  print a+b
 except EOFError:
  break

Solution (Python):
ans = []
while True:
    try:
        temp = raw_input()
    except EOFError:
        break
    a,b = map(int,temp.split())
    ans.append(a+b)
for i in ans:
    print i

Solution (Python):
while True:
    try:
        x = map(int, raw_input().split(" "))
        print x[0]+x[1]
    except EOFError:
        break

Solution (Python):
while 1:
    try:
        print sum(map(int, raw_input().split()))
    except EOFError:
        break

Solution (Python):
while True:
    try:
        text = raw_input()
        a, b = text.split()
        print int(a) + int(b)
    except EOFError:
        break

Solution (Python):
import sys
for line in sys.stdin.readlines():
    print sum(map(int,line.rstrip().split()))

Solution (Python):
while True:
    try:
        print sum(map(int, raw_input().split()))
    except EOFError:
        break

Solution (Python):
import sys

for line in sys.stdin:
    L=map(int,line.split())
    A,B=L[0],L[1]
    print A+B

Solution (Python):
import sys
for inp in sys.stdin:
    i, j = map(int, inp.split())
    print i + j

Solution (Python):
while True:
    try:
        a, b = map(int, input().split())
        print(a+b)
    except EOFError as e:
        break

Solution (Python):
import sys

for line in sys.stdin.readlines():
	a, b = map(int, line.split())
	print a + b

Solution (Python):
while(True):
  try:
    (a, b) = map(int, raw_input().split())
  except EOFError:
    break

  print "%d" % (a+b)

Solution (Python):
while 1:
    try:
        a, b = raw_input().split()
        print int(a) + int(b)
    except:
        break

Solution (Python):
while 1:
    try:
        a, b = map(int, raw_input().split())
        print a + b
    except:
        break

Solution (Python):
while 1:
    try:
        a,b = map(int,input().split())
        print(a+b)
    except:
        break

Solution (Python):
try:
    while True:
        a,b = input().split(" ")
        num = int(a) + int(b)
        print(num)
except EOFError:
    num = 0

Solution (Python):
if __name__ == '__main__':
    try:
        while True:
            a, b = input().strip().split()
            print(int(a) + int(b))
    except EOFError:
        pass

Solution (Python):
while True:
    try:
        A,B=map(int,input().split())
    except EOFError:
        break
    print(A+B)

Solution (Python):
import sys
  
for s in sys.stdin:
    a,b = [ int(x) for x in s.split() ]
    print(a+b)

Solution (Python):
while(True):
    try:
        data = input().split()
        result = 0
        for i in data: result += int(i)
        print(result)
    except EOFError:
        break

Solution (Python):
while True:
    try:
        a, b = map(int, input().split())

        print(a+b)
    except EOFError:
        break

Solution (Python):
import sys

ans = lambda a, b: a + b
try:
    while True:
        a, b = [int(i) for i in input().split()]
        print(ans(a, b))
except Exception:
    sys.exit()

Solution (Python):
while True:
    try:
        a,b=map(int,input().split())
    except:
        break
    print(a+b)

Solution (Python):

 



 
import sys
import math
 

class mymath:
    
    pi = 3.14159265358979323846264338
 
    
    def pnum_eratosthenes(self, n):
        ptable = [0 for i in range(n+1)]
        plist = []
 
        for i in range(2, n+1):
            if ptable[i]==0:
                plist.append(i)
                for j in range(i+i, n+1, i):
                    ptable[j] = 1
        return plist
 
    
    def gcd(self, a, b):
        if b == 0:
            return a
        return self.gcd(b, a%b)
 
    
    def lcm(self, a, b):
        return (a*b)//self.gcd(a,b)
 
    
    def mul(self, A, B):
        ans = []
        for a in A:
            c = 0
            for j, row in enumerate(a):
                c += row*B[j]
            ans.append(c)
        return ans
 
mymath = mymath()
 

class output:
    
    def list(self, l):
        l = list(l)
        
        for i, num in enumerate(l):
            print(num, end="")
            if i != len(l)-1:
                print(" ", end="")
        print()
 
output = output()
 






 


 


 


 





def get_input():
  N = []
  while True:
    try:
      N.append(input())
      
    except EOFError:
      break
  return N

N = get_input()

for row in N:
  a, b = [int(x) for x in row.split()]
  print(a+b)

Solution (Python):
while True:
  try:
    a,b=map(int,input().split(" "))
    print(a+b)
  except Exception:
    break

Solution (Python):
while True:
    try:
        a,b = map(int, input().split())
        print(a+b)
    except EOFError:
        break

Solution (Python):
try:
 while 1:print(sum(map(int,input().split())))
except:1

Solution (Python):
import sys
for l in sys.stdin:print sum(map(int,l.split()))

Solution (Python):
while True:
    try:print(sum(map(int,input().split(" "))))
    except:break

Solution (Python):
output = []
while True:
    try:
        a, b = map(int, input().split())
    except :
        break
    output.append(a+b)
for x in range(len(output)):
    print(output[x])