LIỆT KÊ ƯỚC SỐ - DIVISORS

PDF

Submit solution

Points: 10.00 (partial)
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Problem types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Cho số nguyên dương ~n~.

Yêu cầu

Liệt kê các ước số dương của ~n~ theo thứ tự tăng dần.

Dữ liệu

Dòng duy nhất ghi số nguyên dương ~n~ ~(n \le 10^{14})~.

Kết quả

Ghi ra các ước số dương của ~n~ theo thứ tự tăng dần, mỗi ước số trên một dòng.

Input

10

Output

1
2
5
10

Comments

Please read the guidelines before commenting.


There are no comments at the moment.