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

#329. All divisors

You get a positive integer n. Find this for n: **All 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
3697
Output
1 3697
Input
5493
Output
1 3 1831 5493

💡 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!