Problem 1037 --找出N之内的所有完数

1037: 找出N之内的所有完数

Time Limit: 10 Sec  Memory Limit: 128 MB
Submit: 4959  Solved: 2510
[Submit][Status][Web Board][Creator:123]

N

Output

? its factors are ? ? ?

Sample Input

1000

Sample Output

6 its factors are 1 2 3
28 its factors are 1 2 4 7 14
496 its factors are 1 2 4 8 16 31 62 124 248 

[Submit][Status]