CodeLab Academy 📞 9936 6696
← List Python · Level 4: For loops Code · 40 points ← #345 #347 →

#346. Sum of divisors

You get a positive integer n. Find this for n: **Sum of divisors** (1 and n itself count too). Print lists in increasing order, separated by spaces. ### Input One integer n (1 ≤ n ≤ 10000). ### Output The answer.

Examples

Input
5845
Output
8064
Input
2696
Output
5070

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!