_ = input() line = input() array = [ int(x) for x in line.split(' ') ] print(sum(array))