import decimal print sum(decimal.Decimal(input()) for i in range(input())).__format__(".10f")