firstLine = int(input()) secondLine = list(map(int, input().split())) print(sum(secondLine))