https://programmers.co.kr/learn/courses/30/lessons/12928?language=javascript
function solution(n) { let answer = 0; for (let i = 0; i <= n; i++) { if (n % i === 0) { answer += i; } } return answer; }