Problem AD: 输出 1~n 范围内所有自幂数

Problem AD: 输出 1~n 范围内所有自幂数

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

Description

输入上限 n,找出 1~n 全部自幂数并打印。(从小到大 数字之间空格隔开)

Sample Input Copy

999

Sample Output Copy

1 2 3 4 5 6 7 8 9 153 370 371 407