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