#include<stdio.h>
int main()
{
int i = 1;
while(i * i<=upper_limit)
{
printf("%d",i * i);
i++;
}
printf("\n");
return 0
}