e-olymp
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