from decimal import * N = int(input()) res = 0 for _ in range(N): a = Decimal(input()) res += a print(format(res,".10f"))