N = int(input()) S = 0 for i in range(N): k = int(input()) S += k print(S)