from decimal import Decimal import decimal N=int(input()) X=0 for _ in range(N): X+=Decimal(input()) X=str(X) if "." not in X: X+="."+"0"*10 else: X+="0"*(10-(len(X)-1-X.index("."))) print(X)