input() num = [int(e) for e in input().split()] print(sum(num))