Problem2072--水仙花数

2072: 水仙花数

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

Description

        水仙花数也被称为自恋数,指一个 3 位数,它的每个位上的数字的 3次幂之和等于它本身(例如:1*1*1 + 5*5*5 + 3*3*3 = 153)。
        请输出所有的水仙花数。

Input

Output

水仙花数。

Sample Input Copy

Sample Output Copy

153
370
371
407

Source/Category