from decimal import * N = input() ans = Decimal(0.0000000000) for _ in xrange(N): A = Decimal(raw_input()) ans += A print '{0:.10f}'.format(ans)