import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines from decimal import Decimal, getcontext getcontext().prec = 25 N = int(readline()) *A, = map(Decimal, read().decode().split()) answer = sum(A) print('{:.10f}'.format(answer))