Problem2304--【基础】质因子

2304: 【基础】质因子

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

Description

任意输入一正整数N,求出它的所有质因子。如:10=(2 5);20=(2 2 5)。

Input

输入只有一行,包括1个整数n (1<n<32768 )。

Output

输出若干行,按从小到大的顺序给出这个数的所有质因子,每行一个。

Sample Input Copy

36

Sample Output Copy

2
2
3
3

Source/Category