from decimal import * getcontext().prec = 10000 A, B = input().split() A = Decimal(A) B = Decimal(B) ans = A+B print('{:.10000f}'.format(ans))