from decimal import *
setcontext(Context(prec=100000,Emax=100000,Emin=-100))
a,b = Decimal(input()),Decimal(input())
print(a+b)