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