from decimal import Decimal n=int(input()) ans=0 for i in range(n): ans+=Decimal(input()) print('{:.10f}'.format(ans))