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