#!/usr/bin/python3 total = 0 while(1): try: line = input() except: break for number in line.split(): total += float(number) print(total)