N = int(input()) total = 0 for num in range(N): total += int(input()) print(total)