Problem3087--因数

3087: 因数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

输入一个整数n, 输出n的所有因数(包括1和n)

Input

输入一个整数n

Output

输出n的所有因数,数和数之间用空格隔开

Sample Input Copy

10

Sample Output Copy

1 2 5 10

Source/Category