n = int(input()) l = int(input()).split() print(sum(l))