import decimal import math N = int(input()) s = 0 for i in range(N): s += decimal.Decimal(input()) print(round(s,10))