1
#include<stdio.h>
#include<math.h>
int main(void)
{
int m,n,i,s,b,b1,g1,s1,p,count=0;
scanf("%d%d",&m,&n);
for(i=m;i<=n;i++){
b1=i/100;
b=i%100;
s1=b/10;
s=b1%10;
g1=s;
p=pow(b1,3)+pow(s1,3)+pow(g1,3);
if(i==p)
printf("%d ",i);
else
count++;
}
if(count==n-m)
printf("no");
return 0;
}