n = int(input()) ans = 0 for i in range(n): ans += float(input()) print(ans)