~/algor $ cat problems/for-boluvchilarini-chiqarish
Print the divisors
Easy
1000 ms
64 MB
23%
A positive integer $n$ is given. Print all its positive divisors (including $1$ and $n$) in increasing order.
Input
One positive integer $n$.
Output
One line with all divisors in increasing order separated by spaces.
Note
$1 \le n \le 10^{5}$
Examples
Input #1
12
Output #1
1 2 3 4 6 12
Input #2
7
Output #2
1 7