#include <stdio.h>
#include <math.h>

int main(void)
{
	int y;
	double x;

	puts("  0.000 0.200 0.400 0.600 0.800");
	for(y=0;y<=4;y++)	{
		printf("%d", y);
		for(x=0;x<=0.8;x+=0.2)	{
			printf(" %.3f", sqrt(x + y));
		}
		puts("");
	}

	return 0;
}
