n = int(input())
numbers = list(map(int, input().split()))
total_num = sum(numbers)
print(total_num)