you = int(input()) A = input().split() for i in range(len(A)): A[i] =int(A[i]) print(sum(A))