from decimal import * N = int(input()) print(round(sum(Decimal(input()) for _ in range(N)),10))