n = int(input()) l = [] for i in range(n): l.append(float(input())) print(sum(l)) print("\n")