x=int(input())
y=int(input())
a=x+y
b=x-y
print(a)
print(b)

需要命名int