N = int(input()) first = input() A = 0 split_first = first.split() for i in range(N): A = A + int(split_first[i]) print(A)