from decimal import * D=Decimal getcontext().prec=99 while 1: a,o,b=raw_input().split() d=D(a)+D(b) print(d,a[:11]+b[11:])[d