index = int(input()) num = input().split() num_int = list(map(int, num)) answer = 0 for i in range(index): answer += num_int[i] print(answer)