from decimal import * N = int(input()) a = [Decimal(input()) for i in range(N)] ans = Decimal('0') for x in a: ans += x print("{0:.10f}".format(ans))