Find All Divisors

Easy

📝 Description

Find all divisors of a number

Input Format

A single integer n

Output Format

List of divisors of n

Constraints

1 ≤ n ≤ 10000

🔍 Sample Input

12
            

✅ Sample Output

1 2 3 4 6 12
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run