from decimal import Decimal N=int(input()) ans=Decimal(0) for _ in range(N): x=Decimal(input()) ans+=x print(ans)