N=input() L=list(map(int,input().split())) O=0 for V in L:O+=V print(O)