N = int(input()) A = list() for i in range(N): A.append(int(input())) B = 0 for i in A: B += i print(B)