import re while 1:v=re.findall("\d+",raw_input()).pop;i="%091i"%eval('+int(v(0)+v(0).ljust(90,"0"))'*2);print i[:-90]+"."+i[-90:].rstrip("0")