N = int(input()) A = input().split(); A = list(map(int, A)) ans = sum(A) print(ans)