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