from decimal import * n = int(input()) x = Decimal('0.0000000000') for i in range(0, n): x += Decimal(input()) print(str(x))