A = input() B = input() C = B.split() Ans = 0 for suji in C: Ans = Ans + int(suji) print(Ans)