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