from decimal import Decimal as d n=int(input()) print('{:.10f}'.format(sum([d(input()) for _ in [0]*n])))