import sys unput=sys.stdin.readline N = int(input()) S = [] for i in range(N): A = int(input()) S.append(A) print(sum(S))