Hide
Problem B
Positive Divisors
Given a positive integer $N$, compute all of its positive divisors.
Input
The first and only line contains the integer $N$ ($1 \le N \le 10^{15}$).
Output
Output all the divisors of $N$, in ascending order, one per line.
Sample Input 1 | Sample Output 1 |
---|---|
12 |
1 2 3 4 6 12 |