#!/usr/bin/ruby require 'bigdecimal' s=BigDecimal.new(0) gets.to_i.times{ s+=BigDecimal.new(gets.chomp) } puts '%.10f'%s.to_f