e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

All divisors

All divisors

Find all divisors of positive integer n.

Input

One positive integer n (n109).

Output

Print in increasing order all divisors of number n.

Time limit 1 second
Memory limit 128 MiB
Input example #1
10
Output example #1
1 2 5 10 
Input example #2
36
Output example #2
1 2 3 4 6 9 12 18 36