num = int(input()) numList = list(map(int, input().split())) print(sum(numList))