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