Problem1182--if嵌套-水仙花数

1182: if嵌套-水仙花数

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 274  Solved: 174
[Status] [Submit] [Creator:]

Description

水仙花数(Narcissistic number)也被称为超完全数字不变数(pluperfect digital invariant, PPDI)、自恋数、自幂数、阿姆斯壮数或阿姆斯特朗数(Armstrong number)

水仙花数是指一个 3 位数,它的每个位上的数字的 3次方之和等于它本身。例如153=1*1*1+5*5*5+3*3*3 


请你输入一个三位数,判断这个数是不是水仙花数

Input

一个三位数n

Output

如果是水仙花数,输出yes,否则输出no

Sample Input Copy

153

Sample Output Copy

yes

Source/Category

 基础C