1 1 1 5 25 125 100 10000 1000000
#include
int main(void)
{
int a,b,c,d,e,f,g,h,i,j,k,l;
scanf("%d %d %d",&a,&b,&c);
d=a;
e=a*a;
f=a*a*a;
g=b;
h=b*b;
i=b*b*b;
j=c;
k=c*c;
l=c*c*c;
printf("%-9d%-9d%-9d\n%-9d%-9d%-9d\n%-9d%-9d%-9d\n",d,e,f,g,h,i,j,k,l);
return 0;
}