from decimal import *;i=input;print(round(sum(Decimal(i())for _ in[0]*(int(i()))),10))