from decimal import *;i=input;N=int(i());print(round(sum([Decimal(i()) for _ in[0]*N]),10))