def solveMeFirst(a,b):
    return a+b


num1 = input()
num2 = input()
res = solveMeFirst(num1,num2)
print res

def solveMeFirst(a,b):
    return a+b


num1 = input()
num2 = input()
res = solveMeFirst(num1,num2)
print res
