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