/******************************************************************************

Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.

*******************************************************************************/
#include <bits/stdc++.h>
using namespace std;

int main()
 {
    cout<<"Enter a Number to Print Pattern:"<<endl;
    int n;
    cin>>n;
    if(n>=3 && (n%2!=0)){
        int a=ceil(n/2);
        
        for(int i=0;i<n;i++){
            
            for(int j=0;j<(3*n+2);j++){
                if(i!=a && (j<n || j>=(2*n+2))){
                    cout<<" "<<" ";
                }
                
                else if(i==a && (j<n || j>=(2*n+2))){
                    cout<<"e"<<" ";
                }
                else if ((j>=n && j<(2*n+2))){
                    cout<<"*"<<" ";
                }
                
            }
            cout<<endl;
    }
    }
    else{
        cout<<"enter a Valid number"<<endl;
    }

    return 0;
}