from decimal import* D=Decimal print(sum(D(input())+D('%.10f'%0)for x in[0]*int(input())))