t = 0 n = int(input()) a = input() ab = a.split() for i in range(n): t += int(ab[i]) print(t)