N = int(input()) sum = 0 for _ in range(N): sum += int(input()) print(sum)