from decimal import * getcontext().prec = 28 a, b = input().strip().split() print(Decimal(a) + Decimal(b))