n = int(input()) a = 0 for i in range(n): a += float(input()) print("{0:.10f}".format(a))