#No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用) N=int(input()) A=list(map(int,input().split())) x=0 for n in range (0,N): x=x+A[n] print(x)