using Printf n = parse(Int, readline()) s = 0.0 for _ in 1:n x = parse(Float64, readline()) s += sqrt(x) @printf "%.14f\n" s end