/* By Koichi..    hisigata
http://onyoaki.hp.infoseek.co.jp/itizi/hisi.c.txt*/
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char **argv)
{
	int n, i, j;

	if (argc < 2) {
		fprintf(stderr, "Usage: hisi number\n");
		return 1;
	}

	n = atoi(argv[1]);

	for (i = -((n - 1) / 2); i <= (n - 1) / 2; i++) {
		for (j = 0; j < abs(i); j++)
			printf("  ");
		for (j = 0; j < n - abs(i) * 2; j++)
			printf("* ");
		printf("\n");
	}

	return 0;
}

