<%
out.print("<table border='1' align='center'>");
out.print("<tr>");
for (int t=100;t<=999;t++)
{ int a=t/100,b=(t%100)/10,c=(t%100)%10;
if (t==a*a*a+b*b*b+c*c*c)
{
out.println("<td width='50px'>"+ t +"</td>");
}
}
out.print("</table>");
%>