1046: 水仙花数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:93 Solved:36

Description

数学家马达齐提到一种数叫水仙花数。若一个三位数x(非负数),x=100×a+10×b+c,满足a3+b3+c3=x,则认为x就是一个水仙花数。

请输入一个三位数,判断其是否为水仙花数。

Input

123

Output

123不是水仙花数

Sample Input Copy

153

Sample Output Copy

153是水仙花数