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