Problem1613--水仙花数 (课程A)

1613: 水仙花数 (课程A)

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

Description

水仙花数(Narcissistic number)也被称为超完全数字不变数(pluperfect digital invariant, PPDI)、自恋数、自幂数、阿姆斯壮数或阿姆斯特朗数(Armstrong number),水仙花数是指一个 n 位数(n≥3 ),它的每个位上的数字的 n 次幂之和等于它本身(例如:1^3 + 5^3+ 3^3 = 153)。
求所有3位数字的水仙花数。

Input

多行,每行一个正整数。

Output

153

Source/Category