import decimal n = int(input()) d = 0 for i in range(n): d += decimal.Decimal(input()) print(d)