int main(void)
{
	int i, j, n = 12;

	for (j = 1; j <= n; j++) printf(, j, j != n ? ' ' : '\n');
	for (j = 0; j <= n; j++) printf(j != n ?  : );

	for (i = 1; i <= n; i++) {
		for (j = 1; j <= n; j++)
			printf(j < i ?  : , i * j);
                printf(, i);
        }

	return 0;
}