Problem A: 所有因数

Problem A: 所有因数

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 124  Solved: 89
[Status] [Submit] [Creator:]

Description

输入一个整数 n(1 ≤ n ≤ 1000),从小到大输出 n 的所有因数。  

Input

一个整数 n(1 ≤ n ≤ 1000)。  

Output

从小到大输出 n 的所有因数。每个数占一行。  

Sample Input Copy

6

Sample Output Copy

1
2
3
6