public class Shui{
public static void main(String args[]){
for(int i=100;i<=999;i++){
int b,s,g;
b=i/100;
s=(i-b*100)/10;
g=i-b*100-s*10;
if(i==b*b*b+s*s*s+g*g*g){
System.out.println("all the ShuiXianhua number is :"+i);
}
}
}
}
public static void main(String args[]){
for(int i=100;i<=999;i++){
int b,s,g;
b=i/100;
s=(i-b*100)/10;
g=i-b*100-s*10;
if(i==b*b*b+s*s*s+g*g*g){
System.out.println("all the ShuiXianhua number is :"+i);
}
}
}
}