Ước số

View as PDF

Submit solution

Points: 0.10
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem type

Viết chương trình in ra màn hình tất cả các ước số của 1 số nguyên n nhập từ bàn phím.

Input

Input một dòng duy nhất số nguyên n (n≤100000)

Output

Output tất cả ước số của số nguyên n. Mỗi ước số được in trên một dòng

Examples

Input

6

Output

1
2
3
6

Comments

Please read the guidelines before commenting.


There are no comments at the moment.