main=getContents>>=print.sum.map (read :: String -> Double).words