提示: 欢迎访问OurACM平台。
Problem 1758 PrimeSplit

Accept: 320    Submit: 706
Time Limit: 1000 mSec    Memory Limit : 32768 KB

Problem Description

give you a non-negative integer n(1<=n<=1000000)

please tell AekdyCoin all its factors in ascending order.

You must split all these factors with exactly one ' ',Don't put any extra character after the last number.

Sample Input

61225

Sample Output

1 5 25 31 79 155 395 775 1975 2449 12245 61225

Source

FZU 2009 Summer Training IV--Number Theory

Submit  Back  Status  Discuss