Problem2132--水仙花数

2132: 水仙花数

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

Description

求100∼999 中的水仙花数。若三位数ABC ,ABC=A3+B3+C3 ,则称ABC 为水仙花数。 例如153 ,13+53+33=1+125+27=153 ,则153 是水仙花数。

Input

Output

由小到大输出满足条件的数,每个数占一行。 假设需要输出两个数:119,100。需要输出以下形式: 100 119

Sample Input Copy

Sample Output Copy

Source/Category