from decimal import Decimal, getcontext getcontext().prec = 100 a = Decimal(input()) b = Decimal(input()) print(a + b)