#include<stdio.h>
main()
{
  int i;
  for (i=6;i<=35;i++)
    if (i%5==0) printf("%d\n",i*i);
        else printf("%d\t",i*i);
}



