import 'dart:io';
void main() {
int num=7;
var a=(num-1)/2;
var b='';
if(num .isOdd){
for(int i=0; i<num+2;i++){
for(int j=0;j<num+2;j++){
if(i==0){
b = b + '*';
}
else if((i/1)==(a+1) &&(j==0)){
for(int k=0;k<1;k++){
// print('s');
b=b+' ';
}
}
else if( (i/1)==(a+1) && j>1){
b=b+'*';
}
else {
b=b+' ';
}
}
if(i!=num+1){
print(b +'e');
}
// a[i]='e'
// print('e');
if(i==num+1)
{
b=b+'e';
for(int k=0;k< num-1;k++){
b = b+'*';
}
print(b);
}
b ='';
}
}
else{
print('num is even');
}
}
aW1wb3J0ICdkYXJ0OmlvJzsKIAp2b2lkIG1haW4oKSB7CglpbnQgbnVtPTc7Cgl2YXIgYT0obnVtLTEpLzI7Cgl2YXIgYj0nJzsKCQoJCmlmKG51bSAuaXNPZGQpewoJZm9yKGludCBpPTA7IGk8bnVtKzI7aSsrKXsKCQkKCQlmb3IoaW50IGo9MDtqPG51bSsyO2orKyl7CgkJaWYoaT09MCl7CgkJCSBiID0gYiArICcqJzsKCQl9CgkJCgkJZWxzZSBpZigoaS8xKT09KGErMSkgJiYoaj09MCkpewoJCQkJZm9yKGludCBrPTA7azwxO2srKyl7CgkJCQkvLyBwcmludCgncycpOwoJCQkJYj1iKycgJzsKCQkJCX0KCQkJfQoJCQllbHNlIGlmKCAoaS8xKT09KGErMSkgJiYgaj4xKXsKCQkJCWI9YisnKic7CgkJCX0KCQoJCQllbHNlIHsKCQkgICBiPWIrJyAnOwoJCQl9CgkJCQoJCX0KCQlpZihpIT1udW0rMSl7CgkJCXByaW50KGIgKydlJyk7CgkJfQoJCQoJCS8vIGFbaV09J2UnCgkJLy8gcHJpbnQoJ2UnKTsKCQlpZihpPT1udW0rMSkKCQl7CgkJCWI9YisnZSc7CgkJCWZvcihpbnQgaz0wO2s8IG51bS0xO2srKyl7CgkJCQliID0gYisnKic7CgkJCX0KCQkJcHJpbnQoYik7CgkJfQoJCgkJIGIgPScnOwoKCX0KfQogZWxzZXsKIAlwcmludCgnbnVtIGlzIGV2ZW4nKTsKIH0KCn0=