Divisors - MarisaOJ: Marisa Online Judge

Divisors

Time limit: 1000 ms
Memory limit: 256 MB
Find all positive divisors of a given integer n. ### Input - A single line contains an integer n. ### Output - Print all positive divisors of n, in ascending order. ### Constraints - 1≤n≤106. ### Example Input: 12 Output: 1234612