#include <stdio.h>
int main()
{
int x;
int a,b,c;
scanf("%d",&x);
a=x%10;
b=x/10%10;
c=x/100;
if(a*a*a+b*b*b+c*c*c==x)
printf("YES\n");
else
printf("NO\n");
return 0;
}
03-20
144
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-16
6597
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-13
4732
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-30
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)