Hide

Problem F
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

Please log in to submit a solution to this problem

Log in