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