from decimal import Decimal N = input() A = [Decimal(raw_input().strip()) for i in range(N)] print(sum(A).__format__(".10f"))