Page not loading? Try clicking here.
Placeholder

#2809

Divisors 2 1s 32MB

Problems

Write a program that, given an integer, prints all of its divisors.


Input

An integer N is given. (2 ≤ N ≤ 2,100,000,000)


Output

Print all divisors of N in increasing order.


Example

24
1 2 3 4 6 8 12 24


Source

JUNGOL - comkiwer

You must sign in to write code.