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

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 <iostream>
using namespace std;

int main()
{
    
    int n = 5;
    
    if(n%2 == 0 || n <= 0 || n == 1) {
        cout<<"don't run with even, negative, zero and one"<<endl;
        return 0;}
    
    for(int row = 0; row<n+2; row++){
        
        if(row != n+1){
            for(int col = 0; col<n-1; col++){
                std::cout<<"  ";
                
            }
            std::cout <<"e ";
        }
        
        
        if(row == 0){
            for(int col = 0; col<n+2; col++){
                std::cout<<"* ";
            }
        }
        
        if(row == (n+2)/2){
            for(int col = 0; col<n; col++){
                std::cout<<"* ";
            }
            
        }
            
        if(row == n+1){
            for(int col = 0; col<n-1; col++){
                std::cout<<"* ";
                if(col == n-2){
                    std::cout <<"e ";
                }
            }
        }
        
        std::cout<< std::endl;
            
        }

    return 0;
}