N = int(input()) sum = 0 list = map(int,input().split()) for i in range(N): sum += list[i] print(sum)