from decimal import Decimal, getcontext getcontext().prec = 100 N = int(input()) ans = Decimal(0.0) while N != 0: temp = Decimal(input()) ans += temp N = N-1; print('{:.10f}'.format(ans))