from decimal import * n = int(input()) ans = Decimal(0) for i in range(n): s = input() ans += Decimal(s) print("{:.10f}".format(ans))