# -*- coding: utf-8 -* from decimal import Decimal n = int(input()) res = 0 for _ in range(n): res += Decimal(input()) print("{0:.10f}".format(res))