#!/usr/bin/python
# -*- coding: utf8 -*-
# Soubor:  soucet.py
# Licence: GNU/GPL 
# Popis:   Program provede součet všech čísel, které přečte z stdin
############################################################################
import sys
from sys import stdin, stdout, stderr
############################################################################
soucet=0
while True:
    try:
        line = raw_input()
        cisla = line.split()
        for c in cisla:
            c=float(c)
            soucet+=c
    except EOFError:
        print soucet
        exit(0)
    except KeyboardInterrupt:
        stderr.write("Program prerusen uzivatelem\n")
        exit(1)
    except:
        stderr.write("ERROR: '{}' neni cislo\n".format(c))
        exit(2)
