n = input()
a = input().split()
result = 0
for i in range(eval(n)):
    result += eval(a[i])
print(result)

输入题目