N = int(input()) list = [] for i in range(1, N + 1): A = int(input()) list.append(A) print(sum(list))