from decimal import* print("{0:.10f}".format(sum([Decimal(input()) for i in range(int(input()))])))