input() A = list(map(int,input().split())) B = 0 for i in A: B += i print(B)