n = int(inout()) A = list(map(int, input().split())) print(sum(A))