import 'dart:io';
void main() {
int num=-10;
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');
}
}
aW1wb3J0ICdkYXJ0OmlvJzsKIAp2b2lkIG1haW4oKSB7CglpbnQgbnVtPS0xMDsKCXZhciBhPShudW0tMSkvMjsKCXZhciBiPScnOwoJCgkKaWYobnVtIC5pc09kZCl7Cglmb3IoaW50IGk9MDsgaTxudW0rMjtpKyspewoJCQoJCWZvcihpbnQgaj0wO2o8bnVtKzI7aisrKXsKCQlpZihpPT0wKXsKCQkJIGIgPSBiICsgJyonOwoJCX0KCQkKCQllbHNlIGlmKChpLzEpPT0oYSsxKSAmJihqPT0wKSl7CgkJCQlmb3IoaW50IGs9MDtrPDE7aysrKXsKCQkJCS8vIHByaW50KCdzJyk7CgkJCQliPWIrJyAnOwoJCQkJfQoJCQl9CgkJCWVsc2UgaWYoIChpLzEpPT0oYSsxKSAmJiBqPjEpewoJCQkJYj1iKycqJzsKCQkJfQoJCgkJCWVsc2UgewoJCSAgIGI9YisnICc7CgkJCX0KCQkJCgkJfQoJCWlmKGkhPW51bSsxKXsKCQkJcHJpbnQoYiArJ2UnKTsKCQl9CgkJCgkJLy8gYVtpXT0nZScKCQkvLyBwcmludCgnZScpOwoJCWlmKGk9PW51bSsxKQoJCXsKCQkJYj1iKydlJzsKCQkJZm9yKGludCBrPTA7azwgbnVtLTE7aysrKXsKCQkJCWIgPSBiKycqJzsKCQkJfQoJCQlwcmludChiKTsKCQl9CgkKCQkgYiA9Jyc7CgoJfQp9CiBlbHNlewogCXByaW50KCdudW0gaXMgZXZlbicpOwogfQoKfQ==