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