/* 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
	{
 
		// System.out.println("Please enter odd number that should be greater than 2");
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
 
		if(n >= 3 && n % 2 == 1){
			print(n);
		}else {
			System.out.print("Error!, Please enter odd number that should be greater than 2");
		}
 
	}
 
	public static void print(int n){
 
		int k = (n+1)/2;
 
		for(int i = 1; i<= k;i++){
			for(int sp = 1; sp <= k-1-(i-1);sp++){
				System.out.print(" ");
			}
 
			for(int j = 1; j<= 2*i-1; j++){
				System.out.print("*");
			}
			
			if(i == k-1 || i == k){
				for(int sp = 1; sp <= n+3; sp++){
					if(sp > i && sp < n+3){
						System.out.print(" ");
					}
					if(sp == n+3){
						System.out.print("e");
					}
				}
			}
			
			
			System.out.println();
		}
		
		for(int i = 1; i<= n;i++){
			for(int sp = 1; sp <= (k-1)+ (n+3);sp++){
				
				if(sp == k || sp == (k-1) + (n+3)){
					System.out.print("e");
				}
				else if(i == n && sp> k){
					System.out.print("e");
				}
				else System.out.print(" ");
			}
			
		
			System.out.println();
		}
 
 
	}
}