/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		if(n % 2 == 0){
			System.out.print("Ivalid input it should always odd number");
			return;
		}
		for(int i = 0 ; i < n / 2; i++){
			for(int j = 0; j < n + 1; j++){
				System.out.print(" ");
			}
			for(int j = 0; j < n /2 ; j++){
				if( j >= n/2 - 1 - i){
					System.out.print("*");
				}
				else{
					System.out.print(" ");
				}
			}
			System.out.println();
		}
		for(int i = 0 ; i < 2 * n + n / 2 + 1; i++){
			if(i < n || i > n + n / 2){
				System.out.print("e");
			}else{
				System.out.print("*");
			}
		}
		System.out.println();
		for(int i = 0; i < n / 2 ;i++){
			for(int j = 0; j < 2 * n + n / 2 + 1;j++){
				if(j == 0 || j == 2 * n + n / 2){
					System.out.print("e");
				}else if(j >= n + 1 + i && j <= n + n / 2){
					System.out.print("*");
				}
				else{
					System.out.print(" ");
				}
			}
			System.out.println();
		}
		for(int i = 0; i < n / 2 + 1;i++){
		for(int j = 0; j < 2 * n + n / 2 + 1;j++){
				if(j == 0 || j == 2 * n + n / 2){
					System.out.print("e");
				}else{
					System.out.print(" ");
				}
				
		}
		System.out.println();
		}
		
		// your code goes here
	}
}