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