N = input() L = list(map(int, input().split())) sum = sum(L) print(sum)