def solution(n): if n == 0: return 0 answer = [1, n] for i in range(2, n): if n%i == 0: answer.append(i) return sum(list(set(answer)))