from decimal import * print("%.12lf"%sum([Decimal(input()) for i in range(int(input()))]))