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