N = int(input()) box = [] for i in range(N): box.append(float(input())) print("%.10f" %sum(box))