n = int(input()) a = map(int, input().split()) b=0 for i in a: b += i print(b)