#yuki_81 import decimal n=int(raw_input()) res=decimal.Decimal(0) for i in range(n): res+=decimal.Decimal(raw_input()) print('{0:.10f}'.format(res))